the scheduled unexport of panic_timeout
PATCH 1/1 the scheduled unexport of panic_timeout
This patch contains the scheduled unexport of panic_timeout.
Signed-off-by Adrian Bunk <[email protected]>
---
@Andrew:
Since this was announced and gave compile warnings for one year, it should go into 2.6.17.
Documentation/feature-removal-schedule.txt | 8 -------- include/linux/kernel.h | 2 +- kernel/panic.c | 1 - 3 files changed, 1 insertion(+), 10 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +0 -8
@@ -72,14 +72,6 @@ --------------------------- -What: remove EXPORT_SYMBOL(panic_timeout) -When: April 2006 -Files: kernel/panic.c -Why: No modular usage in the kernel. -Who: Adrian Bunk <[email protected]> - ---------------------------- - What: remove EXPORT_SYMBOL(insert_resource) When: April 2006 Files: kernel/resource.c
include/linux/kernel.h renamed from include/linux/kernel.h.old +1 -1
@@ -176,7 +176,7 @@extern void bust_spinlocks (int yes);extern int oops_in_progress;/* If set, an oops, panic(), BUG() or die() is in progress */ -extern __deprecated_for_modules int panic_timeout; +extern int panic_timeout;extern int panic_on_oops;extern int tainted;extern const char *print_tainted (void );
kernel/panic.c renamed from kernel/panic.c.old +0 -1
@@ -27,7 +27,6 @@static DEFINE_SPINLOCK (pause_on_oops_lock);int panic_timeout; -EXPORT_SYMBOL (panic_timeout);ATOMIC_NOTIFIER_HEAD (panic_notifier_list);