]> err.no Git - linux-2.6/commitdiff
[PATCH] __deprecated_for_modules: panic_timeout
authorAdrian Bunk <bunk@stusta.de>
Mon, 7 Nov 2005 09:01:44 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:54:08 +0000 (07:54 -0800)
This looks like something which out-of-tree code could possibly be using.
Give panic_timeout the twelve-month treatment.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/feature-removal-schedule.txt
include/linux/kernel.h

index 7fd8c80fa0fcdac6ba0d8d6409709c48b7d2ede2..decdf9917e0ddd4d809a673ef0dc5538f741b34f 100644 (file)
@@ -69,6 +69,14 @@ Who: Grant Coady <gcoady@gmail.com>
 
 ---------------------------
 
+What:  remove EXPORT_SYMBOL(panic_timeout)
+When:  April 2006
+Files: kernel/panic.c
+Why:   No modular usage in the kernel.
+Who:   Adrian Bunk <bunk@stusta.de>
+
+---------------------------
+
 What:  remove EXPORT_SYMBOL(insert_resource)
 When:  April 2006
 Files: kernel/resource.c
index b6419489b27b2b03bc2610c4a786ab9d1c10b14b..b1e407a4fbda1ec9b101c5e0bd2c3c4378b7bb5b 100644 (file)
@@ -168,7 +168,7 @@ static inline void console_verbose(void)
 
 extern void bust_spinlocks(int yes);
 extern int oops_in_progress;           /* If set, an oops, panic(), BUG() or die() is in progress */
-extern int panic_timeout;
+extern __deprecated_for_modules int panic_timeout;
 extern int panic_on_oops;
 extern int tainted;
 extern const char *print_tainted(void);