diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-25 19:58:59 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-26 08:52:59 +0100 |
commit | 618038df3588fdfcaccfd40057f36ce792bee252 (patch) | |
tree | 6bdc3a9a28f5cab5e1facf6b0e6c30e18c45356b /tools/perf/util/include/linux | |
parent | 4b8cf84624e9a58a21aaac3d064222092ae234e0 (diff) | |
download | op-kernel-dev-618038df3588fdfcaccfd40057f36ce792bee252.zip op-kernel-dev-618038df3588fdfcaccfd40057f36ce792bee252.tar.gz |
perf tools: Move __used from perf.h to linux/compiler.h
Just like in the kernel and also to remove the need to include
perf.h in the symbol subsystem.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269557941-15617-4-git-send-email-acme@infradead.org>
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.h | 2 |
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 dfb0713..791f9dd 100644 --- a/tools/perf/util/include/linux/compiler.h +++ b/tools/perf/util/include/linux/compiler.h @@ -7,4 +7,6 @@ #define __user #define __attribute_const__ +#define __used __attribute__((__unused__)) + #endif |