mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
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>
This commit is contained in:
parent
020e867c75
commit
237217546d
2 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue