diff options
Diffstat (limited to 'cpukit/libfs/src/jffs2/include/linux/wait.h')
-rw-r--r-- | cpukit/libfs/src/jffs2/include/linux/wait.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/libfs/src/jffs2/include/linux/wait.h b/cpukit/libfs/src/jffs2/include/linux/wait.h new file mode 100644 index 0000000000..2b422e34cb --- /dev/null +++ b/cpukit/libfs/src/jffs2/include/linux/wait.h @@ -0,0 +1,15 @@ +#ifndef __LINUX_WAIT_H__ +#define __LINUX_WAIT_H__ + + +typedef struct { } wait_queue_head_t; + +#define init_waitqueue_head(wait) do{} while (0) +#define add_wait_queue(wait,new_wait) do{} while (0) +#define remove_wait_queue(wait,old_wait) do{} while (0) +#define DECLARE_WAITQUEUE(wait,current) do{} while (0) + +static inline void wake_up(wait_queue_head_t *erase_wait) +{ /* Only used for waking up threads blocks on erases. Not used in eCos */ } + +#endif /* __LINUX_WAIT_H__ */ |