From: Dimitri John Ledkov Date: Wed, 25 Nov 2015 13:35:22 +0000 (+0000) Subject: spl-kmem-cache: include linux/prefetch.h for prefetchw() X-Git-Tag: zfs-0.8.0-rc1~152^2~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f456111ab761a25191db16eabca6ed4cb6bb615;p=zfs spl-kmem-cache: include linux/prefetch.h for prefetchw() This is needed for architectures that do not have a builtin prefetchw() Signed-off-by: Dimitri John Ledkov Signed-off-by: Brian Behlendorf Closes #502 --- diff --git a/module/spl/spl-kmem-cache.c b/module/spl/spl-kmem-cache.c index dea4053b2..846d24300 100644 --- a/module/spl/spl-kmem-cache.c +++ b/module/spl/spl-kmem-cache.c @@ -31,6 +31,7 @@ #include #include #include +#include /* * Within the scope of spl-kmem.c file the kmem_cache_* definitions