From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e7.ny.us.ibm.com ([32.97.182.137]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBrYS-0002js-V6 for kexec@lists.infradead.org; Mon, 28 Jul 2014 20:29:57 +0000 Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 28 Jul 2014 16:29:37 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id EAAD26E8048 for ; Mon, 28 Jul 2014 16:29:25 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp23034.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6SKTac58126940 for ; Mon, 28 Jul 2014 20:29:36 GMT Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6SKSWwV019321 for ; Mon, 28 Jul 2014 16:28:32 -0400 Message-ID: <53D6B270.5020403@linux.vnet.ibm.com> Date: Mon, 28 Jul 2014 15:28:32 -0500 From: Brian King MIME-Version: 1.0 Subject: [PATCH 2/5] kexec: Export kexec_in_progress List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: "James E.J. Bottomley" Cc: kexec@lists.infradead.org, Wendy Xiong , linux-scsi Export kexec_in_progress for use by device drivers and other modules to optimize kexec boot. Signed-off-by: Brian King --- 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); _ _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec