]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit2650cb0c3ba7eb93d4c9af632549a93110c91af7
treeb9b3cd78fcd629bbf61cc2e2953583000a647c80
parentdb076bef2da1f81bf918fc0b24ebed5756fbae5a
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