[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160301015037.4318.33155.stgit@softrs>
Date: Tue, 01 Mar 2016 10:50:37 +0900
From: Hidehiro Kawai <hidehiro.kawai.ez@...achi.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Thomas Mingarelli <thomas.mingarelli@....com>,
Wim Van Sebroeck <wim@...ana.be>,
Corey Minyard <minyard@....org>
Cc: Michal Hocko <mhocko@...e.com>, linux-watchdog@...r.kernel.org,
linux-kernel@...r.kernel.org, Michal Hocko <mhocko@...nel.org>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
HATAYAMA Daisuke <d.hatayama@...fujitsu.com>,
Borislav Petkov <bp@...en8.de>, Tejun Heo <tj@...nel.org>,
openipmi-developer@...ts.sourceforge.net,
Borislav Petkov <bp@...e.de>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 1/3] panic: Export panic_cpu and nmi_panic_self_stop
Export panic_cpu and nmi_panic_self_stop symbols for modules which
use nmi_panic() macro.
Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@...achi.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Borislav Petkov <bp@...e.de>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Michal Hocko <mhocko@...e.com>
Cc: HATAYAMA Daisuke <d.hatayama@...fujitsu.com>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>
Cc: Tejun Heo <tj@...nel.org>
---
kernel/panic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/panic.c b/kernel/panic.c
index d96469d..f4e8035 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -69,8 +69,10 @@ void __weak nmi_panic_self_stop(struct pt_regs *regs)
{
panic_smp_self_stop();
}
+EXPORT_SYMBOL(nmi_panic_self_stop);
atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID);
+EXPORT_SYMBOL(panic_cpu);
/**
* panic - halt the system
Powered by blists - more mailing lists