[tip:core/urgent] tools/liblockdep: Fix include of asm/hash.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  75759827bbe78e53330de2c5e061ecec7fa6f86e
Gitweb:     http://git.kernel.org/tip/75759827bbe78e53330de2c5e061ecec7fa6f86e
Author:     Ira W. Snyder <iws@xxxxxxxxxxxxxxxx>
AuthorDate: Fri, 31 Jan 2014 13:35:31 -0800
Committer:  Sasha Levin <sasha.levin@xxxxxxxxxx>
CommitDate: Wed, 26 Feb 2014 21:21:53 -0500

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@xxxxxxxxxxxxxxxx>
Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>
---
 {include/asm-generic => tools/lib/lockdep/uinclude/asm}/hash.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/asm-generic/hash.h b/tools/lib/lockdep/uinclude/asm/hash.h
similarity index 50%
copy from include/asm-generic/hash.h
copy to tools/lib/lockdep/uinclude/asm/hash.h
index b631284..d82b170b 100644
--- a/include/asm-generic/hash.h
+++ b/tools/lib/lockdep/uinclude/asm/hash.h
@@ -1,9 +1,6 @@
 #ifndef __ASM_GENERIC_HASH_H
 #define __ASM_GENERIC_HASH_H
 
-struct fast_hash_ops;
-static inline void setup_arch_fast_hash(struct fast_hash_ops *ops)
-{
-}
+/* Stub */
 
 #endif /* __ASM_GENERIC_HASH_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux