]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/buddy: cleanup on should_fail_alloc_page
authorGavin Shan <shangw@linux.vnet.ibm.com>
Sat, 21 Jul 2012 00:53:56 +0000 (10:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:02:22 +0000 (13:02 +1000)
commit45f7ab821abdba390998471c6cdadd9bd5cddf8b
treec1f92c061c8f30d8bf0242f25e03ff88cbed5cdd
parentc5c16c283f5e5427403e75086835c791e96ad2ee
mm/buddy: cleanup on should_fail_alloc_page

Currently, function should_fail() has "bool" for its return value, so it's
reasonable to change the return value of function should_fail_alloc_page()
into "bool" as well.

The patch does cleanup on function should_fail_alloc_page() to have "bool"
for its return value.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c