diff options
author | Francesco Fusco <ffusco@redhat.com> | 2013-12-18 16:05:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-19 06:14:53 +0100 |
commit | 237217546d44fe06c16b8895eecaef22f18ba5ee (patch) | |
tree | a82ae9fc4ffd8f326baec66803180b34613c0b5b /include | |
parent | isdn: use strlcpy() instead strcpy() (diff) | |
download | linux-237217546d44fe06c16b8895eecaef22f18ba5ee.tar.xz linux-237217546d44fe06c16b8895eecaef22f18ba5ee.zip |
lib: hash: follow-up fixups for arch hash
This patch adds the include file to pull in __read_mostly on some
architectures e.g. ppc and also fixes up signatures in generic
asm.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Francesco Fusco <ffusco@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/hash.h | 4 |
1 files changed, 2 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 @@ #ifndef __ASM_GENERIC_HASH_H #define __ASM_GENERIC_HASH_H -struct arch_hash_ops; -static inline void setup_arch_fast_hash(struct arch_hash_ops *ops) +struct fast_hash_ops; +static inline void setup_arch_fast_hash(struct fast_hash_ops *ops) { } |