Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linuxkpi/common/include/linux/completion.h
Show All 26 Lines | |||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_COMPLETION_H_ | #ifndef _LINUX_COMPLETION_H_ | ||||
#define _LINUX_COMPLETION_H_ | #define _LINUX_COMPLETION_H_ | ||||
#include <linux/errno.h> | #include <linux/errno.h> | ||||
#include <linux/wait.h> | |||||
struct completion { | struct completion { | ||||
unsigned int done; | unsigned int done; | ||||
}; | }; | ||||
#define INIT_COMPLETION(c) \ | #define INIT_COMPLETION(c) \ | ||||
((c).done = 0) | ((c).done = 0) | ||||
#define init_completion(c) \ | #define init_completion(c) \ | ||||
Show All 27 Lines |