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