[PATCH 2/5] kexec: Export kexec_in_progress

Brian King brking at linux.vnet.ibm.com
Mon Jul 28 13:28:32 PDT 2014


Export kexec_in_progress for use by device drivers and other modules
to optimize kexec boot.

Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
---

 kernel/kexec.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN kernel/kexec.c~kexec_export_in_prog kernel/kexec.c
--- linux/kernel/kexec.c~kexec_export_in_prog	2014-07-23 17:05:24.851887935 -0500
+++ linux-bjking1/kernel/kexec.c	2014-07-23 17:05:24.856887970 -0500
@@ -1716,3 +1716,5 @@ int kernel_kexec(void)
 	mutex_unlock(&kexec_mutex);
 	return error;
 }
+
+EXPORT_SYMBOL_GPL(kexec_in_progress);
_




More information about the kexec mailing list