From: Ingo Molnar <mingo@elte.hu>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Jens Axboe <jens.axboe@oracle.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: -tip: block, mm: Fix build error in mm/memcontrol.c
Date: Sat, 11 Jul 2009 08:51:52 +0200 [thread overview]
Message-ID: <20090711065152.GA23336@elte.hu> (raw)
Today's upstream tree build (x86, 64-bit, allyesconfig) failed with
this build error:
mm/memcontrol.c: In function ‘mem_cgroup_force_empty’:
mm/memcontrol.c:1976: error: ‘BLK_RW_ASYNC’ undeclared (first use in this function)
mm/memcontrol.c:1976: error: (Each undeclared identifier is reported only once
mm/memcontrol.c:1976: error: for each function it appears in.)
Due to commit:
8aa7e84: Fix congestion_wait() sync/async vs read/write confusion
Missing to include a required header file for the BLK_RW_ASYNC.
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
mm/memcontrol.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index e2fa20d..708103d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -25,6 +25,7 @@
#include <linux/smp.h>
#include <linux/page-flags.h>
#include <linux/backing-dev.h>
+#include <linux/blkdev.h>
#include <linux/bit_spinlock.h>
#include <linux/rcupdate.h>
#include <linux/limits.h>
next reply other threads:[~2009-07-11 6:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 6:51 Ingo Molnar [this message]
2009-07-11 18:25 ` -tip: block, mm: Fix build error in mm/memcontrol.c Linus Torvalds
2009-07-11 19:03 ` Ingo Molnar
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=20090711065152.GA23336@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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