Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 422 → Rev 490

/shark/trunk/drivers/linuxc26/include/linux/completion.h
21,12 → 21,7
#define DECLARE_COMPLETION(work) \
struct completion work = COMPLETION_INITIALIZER(work)
 
static inline void init_completion(struct completion *x)
{
x->done = 0;
init_waitqueue_head(&x->wait);
}
 
extern void init_completion(struct completion *x);
extern void FASTCALL(wait_for_completion(struct completion *));
extern void FASTCALL(complete(struct completion *));
extern void FASTCALL(complete_all(struct completion *));