aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmzone.h5
-rw-r--r--include/linux/pageblock-flags.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 09b2c4f50e38..fef08c6cf75e 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -36,9 +36,8 @@
36#define MIGRATE_UNMOVABLE 0 36#define MIGRATE_UNMOVABLE 0
37#define MIGRATE_RECLAIMABLE 1 37#define MIGRATE_RECLAIMABLE 1
38#define MIGRATE_MOVABLE 2 38#define MIGRATE_MOVABLE 2
39#define MIGRATE_HIGHATOMIC 3 39#define MIGRATE_RESERVE 3
40#define MIGRATE_RESERVE 4 40#define MIGRATE_TYPES 4
41#define MIGRATE_TYPES 5
42 41
43#define for_each_migratetype_order(order, type) \ 42#define for_each_migratetype_order(order, type) \
44 for (order = 0; order < MAX_ORDER; order++) \ 43 for (order = 0; order < MAX_ORDER; order++) \
diff --git a/include/linux/pageblock-flags.h b/include/linux/pageblock-flags.h
index fa3b1001894b..5456da6b4ade 100644
--- a/include/linux/pageblock-flags.h
+++ b/include/linux/pageblock-flags.h
@@ -31,7 +31,7 @@
31 31
32/* Bit indices that affect a whole block of pages */ 32/* Bit indices that affect a whole block of pages */
33enum pageblock_bits { 33enum pageblock_bits {
34 PB_range(PB_migrate, 3), /* 3 bits required for migrate types */ 34 PB_range(PB_migrate, 2), /* 2 bits required for migrate types */
35 NR_PAGEBLOCK_BITS 35 NR_PAGEBLOCK_BITS
36}; 36};
37 37