Thread (21 messages) 21 messages, 10 authors, 2012-11-15
STALE4989d

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

From: Randy Dunlap <hidden>
Date: 2012-11-15 01:00:09
Also in: linux-mm, lkml

From: Randy Dunlap <redacted>

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 <redacted>
Cc: Rafael Aquini <redacted>
---
 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help