diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-05-20 16:24:17 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-05-20 16:26:32 +1000 |
commit | 84933a0a737f0bcc8d37af216ae200a7ade891fc (patch) | |
tree | 8ad31baaf68f88f7c19300d67d8c2a32c2d8e01c | |
parent | c401b82af4ae3e854aa857d2351b3d71f1856964 (diff) |
mm: include prefetch.h
Commit e66eed651fd1 ("list: remove prefetching from regular list
iterators") removed the include of prefetch.h from list.h, so include
it explicitly.
Fixes thids build error on sparc32:
mm/slab.c: In function '__cache_alloc':
mm/slab.c:3493: error: implicit declaration of function 'prefetchw'
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | mm/slab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slab.c b/mm/slab.c index 46a9c163a92f..bcfa4987c8ae 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -115,6 +115,7 @@ #include <linux/debugobjects.h> #include <linux/kmemcheck.h> #include <linux/memory.h> +#include <linux/prefetch.h> #include <asm/cacheflush.h> #include <asm/tlbflush.h> |