compiler.h 243 B

12345678910
  1. #ifndef _LIBLOCKDEP_LINUX_COMPILER_H_
  2. #define _LIBLOCKDEP_LINUX_COMPILER_H_
  3. #define __used __attribute__((__unused__))
  4. #define unlikely
  5. #define READ_ONCE(x) (x)
  6. #define WRITE_ONCE(x, val) x=(val)
  7. #define RCU_INIT_POINTER(p, v) p=(v)
  8. #endif