summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorIra W. Snyder <iws@ovro.caltech.edu>2014-01-31 13:35:31 -0800
committerSasha Levin <sasha.levin@oracle.com>2014-02-26 21:21:53 -0500
commit75759827bbe78e53330de2c5e061ecec7fa6f86e (patch)
treea96f04fd474c012e242d8660ddcb19a090f826b4 /tools/lib
parent367d896dafe1b5f49bee75d3a419b9eb9936ae26 (diff)
tools/liblockdep: Fix include of asm/hash.h
Commit 71ae8aac ("lib: introduce arch optimized hash library") added an include to <linux/hash.h> for setting up an architecture specific fast hash. This patch mirrors the fix used for perf, titled "tools: perf: util: fix include for non x86 architectures". Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/lockdep/uinclude/asm/hash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/asm/hash.h b/tools/lib/lockdep/uinclude/asm/hash.h
new file mode 100644
index 00000000000..d82b170bb21
--- /dev/null
+++ b/tools/lib/lockdep/uinclude/asm/hash.h
@@ -0,0 +1,6 @@
+#ifndef __ASM_GENERIC_HASH_H
+#define __ASM_GENERIC_HASH_H
+
+/* Stub */
+
+#endif /* __ASM_GENERIC_HASH_H */