summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-01-09 23:00:52 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-01-13 10:06:25 -0300
commit8a625c1f61f3dd5e4ea4b5b642650416aa101ce5 (patch)
treed62c6214b12b6a103bd3b3c34af33475d58db547 /tools/perf/util/include
parent0050f7aa182e3e8ed34dd6cc4318e52b3df6347a (diff)
downloadblackbird-op-linux-8a625c1f61f3dd5e4ea4b5b642650416aa101ce5.tar.gz
blackbird-op-linux-8a625c1f61f3dd5e4ea4b5b642650416aa101ce5.zip
tools include: Move perf's linux/compiler.h to a generic place
So that it can be shared with others like libtraceevent. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Borislav Petkov <bp@suse.de> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/1389276059-8829-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/include')
-rw-r--r--tools/perf/util/include/linux/compiler.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h
deleted file mode 100644
index b003ad7200b2..000000000000
--- a/tools/perf/util/include/linux/compiler.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _PERF_LINUX_COMPILER_H_
-#define _PERF_LINUX_COMPILER_H_
-
-#ifndef __always_inline
-# define __always_inline inline __attribute__((always_inline))
-#endif
-
-#define __user
-
-#ifndef __attribute_const__
-# define __attribute_const__
-#endif
-
-#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
-
-#endif
OpenPOWER on IntegriCloud