]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm: use existing helper to convert "on"/"off" to boolean
authorMinfei Huang <mnghuan@gmail.com>
Fri, 20 May 2016 23:58:13 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commit2a138dc7e50bfdc90f9db9b52584ac5564952425
tree48d3d1a4e3092a1a09cae17da06f849e9f3b455a
parent78ebc2f7146156f488083c9e5a7ded9d5c38c58b
mm: use existing helper to convert "on"/"off" to boolean

It's more convenient to use existing function helper to convert string
"on/off" to boolean.

Link: http://lkml.kernel.org/r/1461908824-16129-1-git-send-email-mnghuan@gmail.com
Signed-off-by: Minfei Huang <mnghuan@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c
mm/page_poison.c