diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/debug-pagealloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/debug-pagealloc.c b/mm/debug-pagealloc.c index 7cea557407f4..789ff70c8a4a 100644 --- a/mm/debug-pagealloc.c +++ b/mm/debug-pagealloc.c | |||
@@ -95,9 +95,6 @@ static void unpoison_pages(struct page *page, int n) | |||
95 | 95 | ||
96 | void kernel_map_pages(struct page *page, int numpages, int enable) | 96 | void kernel_map_pages(struct page *page, int numpages, int enable) |
97 | { | 97 | { |
98 | if (!debug_pagealloc_enabled) | ||
99 | return; | ||
100 | |||
101 | if (enable) | 98 | if (enable) |
102 | unpoison_pages(page, numpages); | 99 | unpoison_pages(page, numpages); |
103 | else | 100 | else |