]> git.proxmox.com Git - mirror_spl.git/commitdiff
spl-kmem-cache: include linux/prefetch.h for prefetchw()
authorDimitri John Ledkov <dimitri.j.ledkov@intel.com>
Wed, 25 Nov 2015 13:35:22 +0000 (13:35 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Dec 2015 20:45:06 +0000 (12:45 -0800)
This is needed for architectures that do not have a builtin prefetchw()

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #502

module/spl/spl-kmem-cache.c

index dea4053b26c9da10ca5848d8a807a0f19c5d6101..846d2430048e546288233cf175f608ef11872dda 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/swap.h>
 #include <linux/mm_compat.h>
 #include <linux/wait_compat.h>
+#include <linux/prefetch.h>
 
 /*
  * Within the scope of spl-kmem.c file the kmem_cache_* definitions