diff options
author | Dimitri John Ledkov <[email protected]> | 2015-11-25 13:35:22 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-12-02 12:45:06 -0800 |
commit | 9f456111ab761a25191db16eabca6ed4cb6bb615 (patch) | |
tree | 95af33dab4b9c4c5dab5869ffa4ad67b63b13617 /module/spl/spl-kmem-cache.c | |
parent | 4e6f996cdd6e2cf6f1935ccdc35609c7d850ab98 (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #502
Diffstat (limited to 'module/spl/spl-kmem-cache.c')
-rw-r--r-- | module/spl/spl-kmem-cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <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 |