]> git.baikalelectronics.ru Git - 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)
commit972458084b15a5c1764cbeea5385242a96831862
tree48d3d1a4e3092a1a09cae17da06f849e9f3b455a
parentf3513986167eb3e615cca183cc69bf791a99e575
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