diff options
-rw-r--r-- | include/asm-generic/hash.h | 4 | ||||
-rw-r--r-- | lib/hash.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-generic/hash.h b/include/asm-generic/hash.h index 05cb3421ee7e..b6312843dbd9 100644 --- a/include/asm-generic/hash.h +++ b/include/asm-generic/hash.h | |||
@@ -1,8 +1,8 @@ | |||
1 | #ifndef __ASM_GENERIC_HASH_H | 1 | #ifndef __ASM_GENERIC_HASH_H |
2 | #define __ASM_GENERIC_HASH_H | 2 | #define __ASM_GENERIC_HASH_H |
3 | 3 | ||
4 | struct arch_hash_ops; | 4 | struct fast_hash_ops; |
5 | static inline void setup_arch_fast_hash(struct arch_hash_ops *ops) | 5 | static inline void setup_arch_fast_hash(struct fast_hash_ops *ops) |
6 | { | 6 | { |
7 | } | 7 | } |
8 | 8 | ||
diff --git a/lib/hash.c b/lib/hash.c index b89f06a2d606..fea973f4bd57 100644 --- a/lib/hash.c +++ b/lib/hash.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/jhash.h> | 13 | #include <linux/jhash.h> |
14 | #include <linux/hash.h> | 14 | #include <linux/hash.h> |
15 | #include <linux/cache.h> | ||
15 | 16 | ||
16 | static struct fast_hash_ops arch_hash_ops __read_mostly = { | 17 | static struct fast_hash_ops arch_hash_ops __read_mostly = { |
17 | .hash = jhash, | 18 | .hash = jhash, |