summaryrefslogtreecommitdiff
path: root/tools/perf/util/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-08-18 19:56:42 (GMT)
committerIngo Molnar <mingo@elte.hu>2011-08-18 19:56:47 (GMT)
commit8bc84f87315e8bdbe242ba788fdc6a74d653b177 (patch)
treeb96fef5c82de40cb2a5bfe6f29699f1c820513cd /tools/perf/util/include/linux
parent18e5a45db30e0e338cdd663eda05a8288cc14fa5 (diff)
parentfe4c51b22080691792d3e28d86acb4d4ccb7e8e8 (diff)
downloadlinux-fsl-qoriq-8bc84f87315e8bdbe242ba788fdc6a74d653b177.tar.xz
Merge branch 'perf/urgent' into perf/core
Merge reason: add the latest fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/include/linux')
-rw-r--r--tools/perf/util/include/linux/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h
index 791f9dd..547628e 100644
--- a/tools/perf/util/include/linux/compiler.h
+++ b/tools/perf/util/include/linux/compiler.h
@@ -5,7 +5,9 @@
#define __always_inline inline
#endif
#define __user
+#ifndef __attribute_const__
#define __attribute_const__
+#endif
#define __used __attribute__((__unused__))