smskdefs.h 457 B

123456789101112131415161718192021
  1. #ifndef __smskdefs_h__
  2. #define __smskdefs_h__
  3. #include <linux/version.h>
  4. #include <linux/device.h>
  5. #include <linux/list.h>
  6. #include <linux/mm.h>
  7. #include <asm/scatterlist.h>
  8. #include <asm/page.h>
  9. #include <linux/mutex.h>
  10. typedef struct mutex kmutex_t;
  11. #define kmutex_init(_p_) mutex_init(_p_)
  12. #define kmutex_lock(_p_) mutex_lock(_p_)
  13. #define kmutex_trylock(_p_) mutex_trylock(_p_)
  14. #define kmutex_unlock(_p_) mutex_unlock(_p_)
  15. #endif // __smskdefs_h__