Skip to contentSkip to conversation

linux-next: build failure after merge of the final tree

PATCH Stephen Rothwell 1 participant 1 message May 20, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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'

---
 mm/slab.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
mm/slab.c +1 -0
index 46a9c16..bcfa498 100644
@@ -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/