diff options
author | Francesco Fusco <ffusco@redhat.com> | 2013-12-18 19:05:48 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-19 09:14:53 +0400 |
commit | 237217546d44fe06c16b8895eecaef22f18ba5ee (patch) | |
tree | a82ae9fc4ffd8f326baec66803180b34613c0b5b /lib/hash.c | |
parent | 020e867c755610fa5a2a08a69707e636cf368b55 (diff) | |
download | linux-237217546d44fe06c16b8895eecaef22f18ba5ee.tar.xz |
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 'lib/hash.c')
-rw-r--r-- | lib/hash.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ #include <linux/jhash.h> #include <linux/hash.h> +#include <linux/cache.h> static struct fast_hash_ops arch_hash_ops __read_mostly = { .hash = jhash, |