summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/jffs2/kernel/linux/workqueue.h
blob: 8b334d55935874836e074fecdc170e40c617994e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __LINUX_WORKQUEUE_H__
#define __LINUX_WORKQUEUE_H__

/* We don't do this yet */
#if defined (__GNUC__)    
struct work_struct { } ;
#elif defined (MSVC)
struct work_struct {int no; } ;
#else
#error "please use a right C compiler"
#endif


#define INIT_WORK(x,y,z) /* */
#define schedule_work(x) do { } while(0)
#define flush_scheduled_work() do { } while(0)

#endif /* __LINUX_WORKQUEUE_H__ */