]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/mmzone.h
[PATCH] Align the node_mem_map endpoints to a MAX_ORDER boundary
[karo-tx-linux.git] / include / linux / mmzone.h
index b5c21122c2996bcee2a449188748f35e561ca0c9..36740354d4db474c7034beaff63f558891f1f6bc 100644 (file)
@@ -22,6 +22,7 @@
 #else
 #define MAX_ORDER CONFIG_FORCE_MAX_ZONEORDER
 #endif
+#define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1))
 
 struct free_area {
        struct list_head        free_list;