[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100329092513.6e6faf2a.randy.dunlap@oracle.com>
Date: Mon, 29 Mar 2010 09:25:13 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Tejun Heo <tj@...nel.org>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, Jon Masters <jcm@...masters.org>
Subject: [PATCH -next] kmemcheck: build failure after merge of the slabh
tree
On Mon, 29 Mar 2010 15:42:08 +1100 Stephen Rothwell wrote:
> Hi Tejun,
>
> After merging the slabh tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
This tree seems to be a bit messy. :(
Sorry if I missed this patch in the (email) storm.
mm/kmemcheck.c also needs slab.h added to it:
---
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix build errors due to missing slab.h:
mm/kmemcheck.c:69: error: dereferencing pointer to incomplete type
mm/kmemcheck.c:69: error: 'SLAB_NOTRACK' undeclared (first use in this function)
mm/kmemcheck.c:82: error: dereferencing pointer to incomplete type
mm/kmemcheck.c:94: error: dereferencing pointer to incomplete type
mm/kmemcheck.c:94: error: dereferencing pointer to incomplete type
mm/kmemcheck.c:94: error: 'SLAB_DESTROY_BY_RCU' undeclared (first use in this function)
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
mm/kmemcheck.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20100329.orig/mm/kmemcheck.c
+++ linux-next-20100329/mm/kmemcheck.c
@@ -1,6 +1,7 @@
#include <linux/gfp.h>
#include <linux/mm_types.h>
#include <linux/mm.h>
+#include <linux/slab.h>
#include <linux/kmemcheck.h>
void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node)
--
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