]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/page_alloc.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
[net-next-2.6.git] / mm / page_alloc.c
index 0284e528748d5b99528e6cd0d3611c52c08fe335..3f30189896fd5db2fbfae92696d0d8a09b4df072 100644 (file)
@@ -331,7 +331,7 @@ static int destroy_compound_page(struct page *page, unsigned long order)
        for (i = 1; i < nr_pages; i++) {
                struct page *p = page + i;
 
-               if (unlikely(!PageTail(p) | (p->first_page != page))) {
+               if (unlikely(!PageTail(p) || (p->first_page != page))) {
                        bad_page(page);
                        bad++;
                }