KyongHo Cho 43506fad21 mm/page_alloc.c: simplify calculation of combined index of adjacent buddy lists
The previous approach of calucation of combined index was

	page_idx & ~(1 << order))

but we have same result with

	page_idx & buddy_idx

This reduces instructions slightly as well as enhances readability.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix used-unintialised warning]
Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 17:32:48 -08:00
..
2011-01-13 17:32:42 -08:00
2010-08-08 21:57:23 +01:00
2011-01-13 17:32:48 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:47 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:47 -08:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:41 -08:00
2010-05-21 18:31:21 -04:00
2011-01-13 17:32:41 -08:00
2010-05-25 08:07:00 -07:00
2011-01-07 17:50:26 +11:00
2011-01-13 17:32:33 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:36 -08:00
2011-01-13 17:32:43 -08:00