linux-next: build failure after merge of the final tree
Subsystems (2)
Hi all,
After merging the final tree, today's linux-next build (sparc32 defconfig) failed like this:
mm/slab.c: In function '__cache_alloc':mm/slab.c:3493: error: implicit declaration of function 'prefetchw'
Applied this patch:
From: Stephen Rothwell <[email protected]>
Date: Fri, 20 May 2011 16:24:17 +1000
Subject: [PATCH] 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 this 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 <[email protected]>
--- mm/slab.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
mm/slab.c +1 -0
@@ -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>
Signature · 7 lines
1.7.5.1 -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/