siemens-linux/kernel/tools/lib/lockdep/uinclude/linux/compiler.h
2016-10-10 20:38:08 +03:00

10 lines
243 B
C

#ifndef _LIBLOCKDEP_LINUX_COMPILER_H_
#define _LIBLOCKDEP_LINUX_COMPILER_H_
#define __used __attribute__((__unused__))
#define unlikely
#define READ_ONCE(x) (x)
#define WRITE_ONCE(x, val) x=(val)
#define RCU_INIT_POINTER(p, v) p=(v)
#endif