diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index bd4de592dc23..23b84c4e1a57 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) | |||
148 | add_taint(TAINT_BAD_PAGE); | 148 | add_taint(TAINT_BAD_PAGE); |
149 | } | 149 | } |
150 | 150 | ||
151 | #ifndef CONFIG_HUGETLB_PAGE | ||
152 | #define prep_compound_page(page, order) do { } while (0) | ||
153 | #define destroy_compound_page(page, order) do { } while (0) | ||
154 | #else | ||
155 | /* | 151 | /* |
156 | * Higher-order pages are called "compound pages". They are structured thusly: | 152 | * Higher-order pages are called "compound pages". They are structured thusly: |
157 | * | 153 | * |
@@ -205,7 +201,6 @@ static void destroy_compound_page(struct page *page, unsigned long order) | |||
205 | ClearPageCompound(p); | 201 | ClearPageCompound(p); |
206 | } | 202 | } |
207 | } | 203 | } |
208 | #endif /* CONFIG_HUGETLB_PAGE */ | ||
209 | 204 | ||
210 | /* | 205 | /* |
211 | * function for dealing with page's order in buddy system. | 206 | * function for dealing with page's order in buddy system. |