From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Tejun Heo <tj@kernel.org>,
linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Jon Masters <jcm@jonmasters.org>
Subject: [PATCH -next] kmemcheck: build failure after merge of the slabh tree
Date: Mon, 29 Mar 2010 09:25:13 -0700 [thread overview]
Message-ID: <20100329092513.6e6faf2a.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20100329154208.009a8ae2.sfr@canb.auug.org.au>
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@oracle.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@oracle.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)
next prev parent reply other threads:[~2010-03-29 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 4:42 linux-next: build failure after merge of the slabh tree Stephen Rothwell
2010-03-29 16:25 ` Randy Dunlap [this message]
2010-03-29 18:00 ` [PATCH -next] kmemcheck: " Tejun Heo
2010-03-29 18:11 ` Tejun Heo
2010-03-30 12:14 ` linux-next: " Jon Masters
2010-03-30 13:45 ` Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100329092513.6e6faf2a.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=jcm@jonmasters.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).