diff options
Diffstat (limited to 'mm/page_isolation.c')
-rw-r--r-- | mm/page_isolation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_isolation.c b/mm/page_isolation.c index 345643b85bd4..9c03dca8c2ad 100644 --- a/mm/page_isolation.c +++ b/mm/page_isolation.c | |||
@@ -203,7 +203,7 @@ __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn) | |||
203 | if (PageBuddy(page)) | 203 | if (PageBuddy(page)) |
204 | pfn += 1 << page_order(page); | 204 | pfn += 1 << page_order(page); |
205 | else if (page_count(page) == 0 && | 205 | else if (page_count(page) == 0 && |
206 | page_private(page) == MIGRATE_ISOLATE) | 206 | get_freepage_migratetype(page) == MIGRATE_ISOLATE) |
207 | pfn += 1; | 207 | pfn += 1; |
208 | else | 208 | else |
209 | break; | 209 | break; |