diff options
| author | [email protected] <[email protected]> | 2012-01-13 18:45:44 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-01-13 18:45:44 +0000 |
| commit | 3b118059644fbde996083eb53c2e475cc049fd2e (patch) | |
| tree | 7f68390fbe0a24b9c10d8980b7e11fe669baf6ef /components/dfs/filesystems/jffs2/kernel/linux/workqueue.h | |
| parent | 97771b3334f0cbfb28e438ea764421233d6a0b00 (diff) | |
add jffs2 code (porting from ecos v3.0)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/filesystems/jffs2/kernel/linux/workqueue.h')
| -rw-r--r-- | components/dfs/filesystems/jffs2/kernel/linux/workqueue.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/dfs/filesystems/jffs2/kernel/linux/workqueue.h b/components/dfs/filesystems/jffs2/kernel/linux/workqueue.h new file mode 100644 index 0000000000..8b334d5593 --- /dev/null +++ b/components/dfs/filesystems/jffs2/kernel/linux/workqueue.h @@ -0,0 +1,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__ */ |
