2009-10-17 23:12:33 +08:00
|
|
|
#ifndef _PERF_LINUX_COMPILER_H_
|
|
|
|
|
#define _PERF_LINUX_COMPILER_H_
|
|
|
|
|
|
|
|
|
|
#ifndef __always_inline
|
|
|
|
|
#define __always_inline inline
|
|
|
|
|
#endif
|
|
|
|
|
#define __user
|
2011-08-18 19:37:21 +08:00
|
|
|
#ifndef __attribute_const__
|
2009-10-17 23:12:33 +08:00
|
|
|
#define __attribute_const__
|
2011-08-18 19:37:21 +08:00
|
|
|
#endif
|
2009-10-17 23:12:33 +08:00
|
|
|
|
2012-09-11 06:15:03 +08:00
|
|
|
#ifndef __maybe_unused
|
|
|
|
|
#define __maybe_unused __attribute__((unused))
|
|
|
|
|
#endif
|
2012-08-07 21:20:46 +08:00
|
|
|
#define __packed __attribute__((__packed__))
|
2010-03-26 06:58:59 +08:00
|
|
|
|
2012-09-11 06:14:59 +08:00
|
|
|
#ifndef __force
|
|
|
|
|
#define __force
|
|
|
|
|
#endif
|
|
|
|
|
|
2009-10-17 23:12:33 +08:00
|
|
|
#endif
|