[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20110520162347.6c780d3b.sfr@canb.auug.org.au>
Date: Fri, 20 May 2011 16:23:47 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus <torvalds@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, linux-mm@...ck.org
Subject: linux-next: build failure after merge of the final tree
Hi all,
After merging the final tree, today's linux-next build (sparc32 defconfig)
failed like this:
mm/prio_tree.c: In function 'vma_prio_tree_next':
mm/prio_tree.c:178: error: implicit declaration of function 'prefetch'
Caused by commit e66eed651fd1 ("list: remove prefetching from regular list
iterators").
I added this patch for today:
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 20 May 2011 16:19:57 +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 thids build error on sparc32:
mm/prio_tree.c: In function 'vma_prio_tree_next':
mm/prio_tree.c:178: error: implicit declaration of function 'prefetch'
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
mm/prio_tree.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mm/prio_tree.c b/mm/prio_tree.c
index 603ae98..799dcfd 100644
--- a/mm/prio_tree.c
+++ b/mm/prio_tree.c
@@ -13,6 +13,7 @@
#include <linux/mm.h>
#include <linux/prio_tree.h>
+#include <linux/prefetch.h>
/*
* See lib/prio_tree.c for details on the general radix priority search tree
--
1.7.5.1
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists