xref: /nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/kernel/linux/workqueue.h (revision 104654410c56c573564690304ae786df310c91fc)
1 #ifndef __LINUX_WORKQUEUE_H__
2 #define __LINUX_WORKQUEUE_H__
3 
4 /* We don't do this yet */
5 #if defined (__GNUC__)
6 struct work_struct { } ;
7 #elif defined (MSVC)
8 struct work_struct {int no; } ;
9 #else
10 #error "please use a right C compiler"
11 #endif
12 
13 
14 #define INIT_WORK(x,y,z) /* */
15 #define schedule_work(x) do { } while(0)
16 #define flush_scheduled_work() do { } while(0)
17 
18 #endif /* __LINUX_WORKQUEUE_H__ */
19