Files
OrangePi_CM5/tools/perf/util/include/linux/compiler.h
T

30 lines
504 B
C
Raw Normal View History

2009-10-17 17:12:33 +02:00
#ifndef _PERF_LINUX_COMPILER_H_
#define _PERF_LINUX_COMPILER_H_
#ifndef __always_inline
# define __always_inline inline __attribute__((always_inline))
2009-10-17 17:12:33 +02:00
#endif
2009-10-17 17:12:33 +02:00
#define __user
2011-08-18 07:37:21 -04:00
#ifndef __attribute_const__
# define __attribute_const__
2011-08-18 07:37:21 -04:00
#endif
2009-10-17 17:12:33 +02:00
#ifndef __maybe_unused
# define __maybe_unused __attribute__((unused))
#endif
#ifndef __packed
# define __packed __attribute__((__packed__))
#endif
#ifndef __force
# define __force
#endif
#ifndef __weak
# define __weak __attribute__((weak))
#endif
2009-10-17 17:12:33 +02:00
#endif