mm: use existing helper to convert "on"/"off" to boolean
authorMinfei Huang <[email protected]>
Fri, 20 May 2016 23:58:13 +0000 (16:58 -0700)
committerLinus Torvalds <[email protected]>
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/[email protected]
Signed-off-by: Minfei Huang <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/page_alloc.c
mm/page_poison.c