diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 0284e528748d..3f30189896fd 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -331,7 +331,7 @@ static int destroy_compound_page(struct page *page, unsigned long order) | |||
331 | for (i = 1; i < nr_pages; i++) { | 331 | for (i = 1; i < nr_pages; i++) { |
332 | struct page *p = page + i; | 332 | struct page *p = page + i; |
333 | 333 | ||
334 | if (unlikely(!PageTail(p) | (p->first_page != page))) { | 334 | if (unlikely(!PageTail(p) || (p->first_page != page))) { |
335 | bad_page(page); | 335 | bad_page(page); |
336 | bad++; | 336 | bad++; |
337 | } | 337 | } |