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

#define __packed	__attribute__((packed))

#endif