]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/bounds.c
mm: Get rid of __ZONE_COUNT
[linux-2.6-omap-h63xx.git] / kernel / bounds.c
index 9ca2bb30243ccd1580d487d9daaaf148f86c579b..c3c55544db2fb515c05c191bfc5c47c26b3cb62e 100644 (file)
@@ -7,6 +7,7 @@
 #define __GENERATING_BOUNDS_H
 /* Include headers that define the enum constants of interest */
 #include <linux/page-flags.h>
+#include <linux/mmzone.h>
 
 #define DEFINE(sym, val) \
         asm volatile("\n->" #sym " %0 " #val : : "i" (val))
@@ -17,5 +18,6 @@ void foo(void)
 {
        /* The enum constants to put into include/linux/bounds.h */
        DEFINE(NR_PAGEFLAGS, __NR_PAGEFLAGS);
+       DEFINE(MAX_NR_ZONES, __MAX_NR_ZONES);
        /* End of constants */
 }