]> git.baikalelectronics.ru Git - kernel.git/commit
kexec: define kexec_in_progress in !CONFIG_KEXEC case
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sat, 1 Aug 2015 23:08:06 +0000 (16:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 05:25:28 +0000 (22:25 -0700)
commit1c47cb319d543aa153ec4e305c477cff19c314e3
treeeaae4117f562f5d07704a3f7aee8d064da8c4c9f
parent19a534fec1a923afdcd55ce1d28c288d47ea87f7
kexec: define kexec_in_progress in !CONFIG_KEXEC case

If some piece of code wants to check kexec_in_progress it has to be put
in #ifdef CONFIG_KEXEC block to not break the build in !CONFIG_KEXEC
case. Overcome this limitation by defining kexec_in_progress to false.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kexec.h