workqueue.h 402 B

123456789101112131415161718
  1. #ifndef __LINUX_WORKQUEUE_H__
  2. #define __LINUX_WORKQUEUE_H__
  3. /* We don't do this yet */
  4. #if defined (__GNUC__)
  5. struct work_struct { } ;
  6. #elif defined (MSVC)
  7. struct work_struct {int no; } ;
  8. #else
  9. #error "please use a right C compiler"
  10. #endif
  11. #define INIT_WORK(x,y,z) /* */
  12. #define schedule_work(x) do { } while(0)
  13. #define flush_scheduled_work() do { } while(0)
  14. #endif /* __LINUX_WORKQUEUE_H__ */