public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* -tip: block, mm: Fix build error in mm/memcontrol.c
@ 2009-07-11  6:51 Ingo Molnar
  2009-07-11 18:25 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2009-07-11  6:51 UTC (permalink / raw)
  To: Linus Torvalds, Jens Axboe; +Cc: linux-kernel, Andrew Morton


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>

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-11 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-11  6:51 -tip: block, mm: Fix build error in mm/memcontrol.c Ingo Molnar
2009-07-11 18:25 ` Linus Torvalds
2009-07-11 19:03   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox