summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIra W. Snyder <iws@ovro.caltech.edu>2014-01-31 22:35:31 +0100
committerSasha Levin <sasha.levin@oracle.com>2014-02-27 03:21:53 +0100
commit75759827bbe78e53330de2c5e061ecec7fa6f86e (patch)
treea96f04fd474c012e242d8660ddcb19a090f826b4 /tools
parenttools/liblockdep: Fix initialization code path (diff)
downloadlinux-75759827bbe78e53330de2c5e061ecec7fa6f86e.tar.xz
linux-75759827bbe78e53330de2c5e061ecec7fa6f86e.zip
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')
-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 000000000000..d82b170bb216
--- /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 */