goprife@gmail.com 3b11805964 add jffs2 code (porting from ecos v3.0)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 18:45:44 +00:00

19 lines
402 B
C

#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__ */