Commit 6aa3001b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] page_alloc.c: buddy handling cleanup

Fix up some whitespace damage.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 01315922
...@@ -232,11 +232,13 @@ static inline void prep_zero_page(struct page *page, int order, gfp_t gfp_flags) ...@@ -232,11 +232,13 @@ static inline void prep_zero_page(struct page *page, int order, gfp_t gfp_flags)
* zone->lock is already acquired when we use these. * zone->lock is already acquired when we use these.
* So, we don't need atomic page->flags operations here. * So, we don't need atomic page->flags operations here.
*/ */
static inline unsigned long page_order(struct page *page) { static inline unsigned long page_order(struct page *page)
{
return page_private(page); return page_private(page);
} }
static inline void set_page_order(struct page *page, int order) { static inline void set_page_order(struct page *page, int order)
{
set_page_private(page, order); set_page_private(page, order);
__SetPageBuddy(page); __SetPageBuddy(page);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment