summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/uinclude/linux/compiler.h
blob: fd3e56a83fc27025a9016cae2eaf1882c751cc01 (plain)
1
2
3
4
5
6
7
8
9
10
#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