RE: [next:akpm 121/309] include/linux/page-flags.h:462:2: error: implicit declaration of function 'VM_BUG_ON'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like include/linux/page-flags.h (which uses VM_BUG_ON) needs to have a

#include <linux/mmdebug.h>

to make sure it sees the define.

-Tony

---

diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index e66eb0d..b5d1384 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -7,6 +7,7 @@
 
 #include <linux/types.h>
 #include <linux/bug.h>
+#include <linux/mmdebug.h>
 #ifndef __GENERATING_BOUNDS_H
 #include <linux/mm_types.h>
 #include <generated/bounds.h>


--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux