diff options
Diffstat (limited to 'kernel/include/linux/work-simple.h')
-rw-r--r-- | kernel/include/linux/work-simple.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/kernel/include/linux/work-simple.h b/kernel/include/linux/work-simple.h deleted file mode 100644 index f175fa9a6..000000000 --- a/kernel/include/linux/work-simple.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef _LINUX_SWORK_H -#define _LINUX_SWORK_H - -#include <linux/list.h> - -struct swork_event { - struct list_head item; - unsigned long flags; - void (*func)(struct swork_event *); -}; - -static inline void INIT_SWORK(struct swork_event *event, - void (*func)(struct swork_event *)) -{ - event->flags = 0; - event->func = func; -} - -bool swork_queue(struct swork_event *sev); - -int swork_get(void); -void swork_put(void); - -#endif /* _LINUX_SWORK_H */ |