X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fpage_alloc.c;h=23b84c4e1a57beaf3a3b2cd578318b3da592071c;hb=664beed0190fae687ac51295694004902ddeb18e;hp=bd4de592dc238fd3939c16b276cc7e10f7d1e21d;hpb=0e6850f615af510c992ff9753f4d8c385969a17c;p=linux-2.6 diff --git a/mm/page_alloc.c b/mm/page_alloc.c index bd4de592dc..23b84c4e1a 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -148,10 +148,6 @@ static void bad_page(const char *function, struct page *page) add_taint(TAINT_BAD_PAGE); } -#ifndef CONFIG_HUGETLB_PAGE -#define prep_compound_page(page, order) do { } while (0) -#define destroy_compound_page(page, order) do { } while (0) -#else /* * Higher-order pages are called "compound pages". They are structured thusly: * @@ -205,7 +201,6 @@ static void destroy_compound_page(struct page *page, unsigned long order) ClearPageCompound(p); } } -#endif /* CONFIG_HUGETLB_PAGE */ /* * function for dealing with page's order in buddy system.