summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/linux/compiler.h
blob: ce2367b7b3f6e72ec8260f795a72290b5117b2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _PERF_LINUX_COMPILER_H_
#define _PERF_LINUX_COMPILER_H_

#ifndef __always_inline
#define __always_inline	inline
#endif
#define __user
#ifndef __attribute_const__
#define __attribute_const__
#endif

#define __used		__attribute__((__unused__))
#define __packed	__attribute__((__packed__))

#ifndef __force
#define __force
#endif

#endif
OpenPOWER on IntegriCloud