bootmem: clean up free_all_bootmem_core
authorJohannes Weiner <hannes@saeurebad.de>
Thu, 24 Jul 2008 04:28:03 +0000 (21:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:20 +0000 (10:47 -0700)
commit41546c17418fba08ece978bad72a33072715b8f3
tree16d14d3e22c557289233ed547bacea3739e413c0
parent636cc40cb79f511d9caa27ef098a83e4fa4971fb
bootmem: clean up free_all_bootmem_core

Rewrite the code in a more concise way using less variables.

[akpm@linux-foundation.org: fix printk warnings]
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/bootmem.c