diff options
author | Yaowei Bai <baiyaowei@cmss.chinamobile.com> | 2016-05-20 02:11:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-20 04:12:14 +0200 |
commit | 32f6271dbdc351dce96b11c5f3567bae8188004f (patch) | |
tree | 02270c5f3e19e46543be9ba57c358a42635fb904 /mm/memory_hotplug.c | |
parent | x86: mm: use hugetlb_bad_size() (diff) | |
download | linux-32f6271dbdc351dce96b11c5f3567bae8188004f.tar.xz linux-32f6271dbdc351dce96b11c5f3567bae8188004f.zip |
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>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions