[PATCH 2/2] mm: balloon_compaction.c needs asm-generic/bug.h

From: Randy Dunlap
Date: Wed Nov 14 2012 - 20:00:00 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix build when CONFIG_BUG is not enabled by adding header file
<asm-generic/bug.h>:

mm/balloon_compaction.c: In function 'balloon_page_putback':
mm/balloon_compaction.c:243:3: error: implicit declaration of function '__WARN'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Rafael Aquini <aquini@xxxxxxxxxx>
---
mm/balloon_compaction.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20121114.orig/mm/balloon_compaction.c
+++ linux-next-20121114/mm/balloon_compaction.c
@@ -9,6 +9,7 @@
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/balloon_compaction.h>
+#include <asm-generic/bug.h>

/*
* balloon_devinfo_alloc - allocates a balloon device information descriptor.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/