]> git.baikalelectronics.ru Git - kernel.git/commit
crash_dump: is_kdump_kernel can be boolean
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Tue, 6 Feb 2018 23:41:38 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:47 +0000 (18:32 -0800)
commit489094fe80acfb992b449ec8a779b02a14ddf1f7
treeb9b3cd78fcd629bbf61cc2e2953583000a647c80
parent0711897140e02203c7d434a263516d05b8a452fc
crash_dump: is_kdump_kernel can be boolean

Make is_kdump_kernel return bool due to this particular function only
using either one or zero as its return value.

No functional change.

Link: http://lkml.kernel.org/r/1513308799-19232-8-git-send-email-baiyaowei@cmss.chinamobile.com
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/crash_dump.h