mm/hugetlb: is_vm_hugetlb_page() can return bool
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Fri, 20 May 2016 00:11:23 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit32f6271dbdc351dce96b11c5f3567bae8188004f
tree02270c5f3e19e46543be9ba57c358a42635fb904
parent2b18e5321f512aa85fd91db835a4c0dcdb2cd063
mm/hugetlb: is_vm_hugetlb_page() can return bool

Make is_vm_hugetlb_page() return bool to improve readability due to this
particular function only using either one or zero as its return value.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hugetlb_inline.h