Commit 6aa3001b239b387d98a7f945e4a51edeb59e4f2d
Committed by
Linus Torvalds
1 parent
013159227b
Exists in
master
and in
7 other branches
[PATCH] page_alloc.c: buddy handling cleanup
Fix up some whitespace damage. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 6 additions and 4 deletions Side-by-side Diff
mm/page_alloc.c
... | ... | @@ -232,11 +232,13 @@ |
232 | 232 | * zone->lock is already acquired when we use these. |
233 | 233 | * So, we don't need atomic page->flags operations here. |
234 | 234 | */ |
235 | -static inline unsigned long page_order(struct page *page) { | |
235 | +static inline unsigned long page_order(struct page *page) | |
236 | +{ | |
236 | 237 | return page_private(page); |
237 | 238 | } |
238 | 239 | |
239 | -static inline void set_page_order(struct page *page, int order) { | |
240 | +static inline void set_page_order(struct page *page, int order) | |
241 | +{ | |
240 | 242 | set_page_private(page, order); |
241 | 243 | __SetPageBuddy(page); |
242 | 244 | } |
243 | 245 | |
... | ... | @@ -299,9 +301,9 @@ |
299 | 301 | |
300 | 302 | if (PageBuddy(page) && page_order(page) == order) { |
301 | 303 | BUG_ON(page_count(page) != 0); |
302 | - return 1; | |
304 | + return 1; | |
303 | 305 | } |
304 | - return 0; | |
306 | + return 0; | |
305 | 307 | } |
306 | 308 | |
307 | 309 | /* |