]> git.baikalelectronics.ru Git - kernel.git/commit
mm/buddy: cleanup on should_fail_alloc_page
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 31 Jul 2012 23:41:51 +0000 (16:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Aug 2012 01:42:40 +0000 (18:42 -0700)
commitaeb553c3f9d1ec68beadfb4a0cd2cf65ede6f9b6
tree1db62fec3c1cc4f99e8f8539e7aec8225ea9e1f0
parentb87dd5fc9499bb0f9ecb5572b3a5a4e2757c20d8
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c