diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmzone.h | 4 | ||||
-rw-r--r-- | include/linux/pageblock-flags.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 9a5d5590bd39..afdec8117458 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -38,12 +38,14 @@ | |||
38 | #define MIGRATE_RECLAIMABLE 1 | 38 | #define MIGRATE_RECLAIMABLE 1 |
39 | #define MIGRATE_MOVABLE 2 | 39 | #define MIGRATE_MOVABLE 2 |
40 | #define MIGRATE_HIGHATOMIC 3 | 40 | #define MIGRATE_HIGHATOMIC 3 |
41 | #define MIGRATE_TYPES 4 | 41 | #define MIGRATE_RESERVE 4 |
42 | #define MIGRATE_TYPES 5 | ||
42 | #else | 43 | #else |
43 | #define MIGRATE_UNMOVABLE 0 | 44 | #define MIGRATE_UNMOVABLE 0 |
44 | #define MIGRATE_UNRECLAIMABLE 0 | 45 | #define MIGRATE_UNRECLAIMABLE 0 |
45 | #define MIGRATE_MOVABLE 0 | 46 | #define MIGRATE_MOVABLE 0 |
46 | #define MIGRATE_HIGHATOMIC 0 | 47 | #define MIGRATE_HIGHATOMIC 0 |
48 | #define MIGRATE_RESERVE 0 | ||
47 | #define MIGRATE_TYPES 1 | 49 | #define MIGRATE_TYPES 1 |
48 | #endif | 50 | #endif |
49 | 51 | ||
diff --git a/include/linux/pageblock-flags.h b/include/linux/pageblock-flags.h index 5456da6b4ade..fa3b1001894b 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 */ |
33 | enum pageblock_bits { | 33 | enum pageblock_bits { |
34 | PB_range(PB_migrate, 2), /* 2 bits required for migrate types */ | 34 | PB_range(PB_migrate, 3), /* 3 bits required for migrate types */ |
35 | NR_PAGEBLOCK_BITS | 35 | NR_PAGEBLOCK_BITS |
36 | }; | 36 | }; |
37 | 37 | ||