aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-02-05 09:51:53 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-02-18 07:34:49 -0500
commit0e55fa1131dcacfc8f18fabecc93643a105bdc14 (patch)
tree139673281ba85f0f75194df970fbf28991025f90
parentcd0cfad74eb88e54ba9d205da3ed376e48981448 (diff)
perf tools: Move hash.h header
Put it into tools/include/ for general usage. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Robert Richter <rric@kernel.org> Link: http://lkml.kernel.org/r/1391611914-26054-3-git-send-email-bp@alien8.de Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/include/linux/hash.h5
-rw-r--r--tools/perf/MANIFEST1
-rw-r--r--tools/perf/Makefile.perf2
-rw-r--r--tools/perf/util/include/linux/hash.h5
4 files changed, 7 insertions, 6 deletions
diff --git a/tools/include/linux/hash.h b/tools/include/linux/hash.h
new file mode 100644
index 000000000000..d026c6573018
--- /dev/null
+++ b/tools/include/linux/hash.h
@@ -0,0 +1,5 @@
1#include "../../../include/linux/hash.h"
2
3#ifndef _TOOLS_LINUX_HASH_H
4#define _TOOLS_LINUX_HASH_H
5#endif
diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST
index f41572d0dd76..c0c87c87b60f 100644
--- a/tools/perf/MANIFEST
+++ b/tools/perf/MANIFEST
@@ -6,6 +6,7 @@ tools/lib/symbol/kallsyms.c
6tools/lib/symbol/kallsyms.h 6tools/lib/symbol/kallsyms.h
7tools/include/asm/bug.h 7tools/include/asm/bug.h
8tools/include/linux/compiler.h 8tools/include/linux/compiler.h
9tools/include/linux/hash.h
9include/linux/const.h 10include/linux/const.h
10include/linux/perf_event.h 11include/linux/perf_event.h
11include/linux/rbtree.h 12include/linux/rbtree.h
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 869b34a51c8c..496871ae4590 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -208,7 +208,7 @@ LIB_H += ../../include/uapi/linux/perf_event.h
208LIB_H += ../../include/linux/rbtree.h 208LIB_H += ../../include/linux/rbtree.h
209LIB_H += ../../include/linux/list.h 209LIB_H += ../../include/linux/list.h
210LIB_H += ../../include/uapi/linux/const.h 210LIB_H += ../../include/uapi/linux/const.h
211LIB_H += ../../include/linux/hash.h 211LIB_H += ../include/linux/hash.h
212LIB_H += ../../include/linux/stringify.h 212LIB_H += ../../include/linux/stringify.h
213LIB_H += util/include/linux/bitmap.h 213LIB_H += util/include/linux/bitmap.h
214LIB_H += util/include/linux/bitops.h 214LIB_H += util/include/linux/bitops.h
diff --git a/tools/perf/util/include/linux/hash.h b/tools/perf/util/include/linux/hash.h
deleted file mode 100644
index 201f57397997..000000000000
--- a/tools/perf/util/include/linux/hash.h
+++ /dev/null
@@ -1,5 +0,0 @@
1#include "../../../../include/linux/hash.h"
2
3#ifndef PERF_HASH_H
4#define PERF_HASH_H
5#endif