[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 28/30] panic: Unexport crash_kexec_post_notifiers
 
- To: akpm@xxxxxxxxxxxxxxxxxxxx,	bhe@xxxxxxxxxx,	pmladek@xxxxxxxx,	kexec@xxxxxxxxxxxxxxxxxxx
 
- From: "Guilherme G. Piccoli" <gpiccoli@xxxxxxxxxx>
 
- Date: Wed, 27 Apr 2022 19:49:22 -0300
 
- Cc: linux-kernel@xxxxxxxxxxxxxxx,	bcm-kernel-feedback-list@xxxxxxxxxxxx,	coresight@xxxxxxxxxxxxxxxx,	linuxppc-dev@xxxxxxxxxxxxxxxx,	linux-alpha@xxxxxxxxxxxxxxx,	linux-arm-kernel@xxxxxxxxxxxxxxxxxxx,	linux-edac@xxxxxxxxxxxxxxx,	linux-hyperv@xxxxxxxxxxxxxxx,	linux-leds@xxxxxxxxxxxxxxx,	linux-mips@xxxxxxxxxxxxxxx,	linux-parisc@xxxxxxxxxxxxxxx,	linux-pm@xxxxxxxxxxxxxxx,	linux-remoteproc@xxxxxxxxxxxxxxx,	linux-s390@xxxxxxxxxxxxxxx,	linux-tegra@xxxxxxxxxxxxxxx,	linux-um@xxxxxxxxxxxxxxxxxxx,	linux-xtensa@xxxxxxxxxxxxxxxx,	netdev@xxxxxxxxxxxxxxx,	openipmi-developer@xxxxxxxxxxxxxxxxxxxxx,	rcu@xxxxxxxxxxxxxxx,	sparclinux@xxxxxxxxxxxxxxx,	xen-devel@xxxxxxxxxxxxxxxxxxxx,	x86@xxxxxxxxxx,	kernel-dev@xxxxxxxxxx,	gpiccoli@xxxxxxxxxx,	kernel@xxxxxxxxxxxx,	halves@xxxxxxxxxxxxx,	fabiomirmar@xxxxxxxxx,	alejandro.j.jimenez@xxxxxxxxxx,	andriy.shevchenko@xxxxxxxxxxxxxxx,	arnd@xxxxxxxx,	bp@xxxxxxxxx,	corbet@xxxxxxx,	d.hatayama@xxxxxxxxxxxxxx,	dave.hansen@xxxxxxxxxxxxxxx,	dyoung@xxxxxxxxxx,	feng.tang@xxxxxxxxx,	gregkh@xxxxxxxxxxxxxxxxxxx,	mikelley@xxxxxxxxxxxxx,	hidehiro.kawai.ez@xxxxxxxxxxx,	jgross@xxxxxxxx,	john.ogness@xxxxxxxxxxxxx,	keescook@xxxxxxxxxxxx,	luto@xxxxxxxxxx,	mhiramat@xxxxxxxxxx,	mingo@xxxxxxxxxx,	paulmck@xxxxxxxxxx,	peterz@xxxxxxxxxxxxx,	rostedt@xxxxxxxxxxx,	senozhatsky@xxxxxxxxxxxx,	stern@xxxxxxxxxxxxxxxxxxx,	tglx@xxxxxxxxxxxxx,	vgoyal@xxxxxxxxxx,	vkuznets@xxxxxxxxxx,	will@xxxxxxxxxx
 
- Delivery-date: Wed, 27 Apr 2022 23:03:27 +0000
 
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
 
 
 
There is no users anymore of this variable that requires
it to be "exported" in the headers; also, it was deprecated
by the kernel parameter "panic_notifiers_level".
Signed-off-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>
---
 include/linux/panic.h          | 2 --
 include/linux/panic_notifier.h | 1 -
 2 files changed, 3 deletions(-)
diff --git a/include/linux/panic.h b/include/linux/panic.h
index 34175d0188d0..d301db07a8af 100644
--- a/include/linux/panic.h
+++ b/include/linux/panic.h
@@ -34,8 +34,6 @@ extern int sysctl_panic_on_rcu_stall;
 extern int sysctl_max_rcu_stall_to_panic;
 extern int sysctl_panic_on_stackoverflow;
 
-extern bool crash_kexec_post_notifiers;
-
 /*
  * panic_cpu is used for synchronizing panic() and crash_kexec() execution. It
  * holds a CPU number which is executing panic() currently. A value of
diff --git a/include/linux/panic_notifier.h b/include/linux/panic_notifier.h
index b5041132321d..8fda7045e2f7 100644
--- a/include/linux/panic_notifier.h
+++ b/include/linux/panic_notifier.h
@@ -11,7 +11,6 @@ extern struct atomic_notifier_head panic_pre_reboot_list;
 extern struct atomic_notifier_head panic_post_reboot_list;
 
 bool panic_notifiers_before_kdump(void);
-extern bool crash_kexec_post_notifiers;
 
 enum panic_notifier_val {
        PANIC_UNUSED,
-- 
2.36.0
 
    
     |