[PATCH] __deprecated_for_modules: panic_timeout

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>
This commit is contained in:
Adrian Bunk 2005-11-07 01:01:44 -08:00 committed by Linus Torvalds
parent 24622efd11
commit dfed04492f
2 changed files with 9 additions and 1 deletions

View 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) What: remove EXPORT_SYMBOL(insert_resource)
When: April 2006 When: April 2006
Files: kernel/resource.c Files: kernel/resource.c

View file

@ -168,7 +168,7 @@ static inline void console_verbose(void)
extern void bust_spinlocks(int yes); extern void bust_spinlocks(int yes);
extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ 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 panic_on_oops;
extern int tainted; extern int tainted;
extern const char *print_tainted(void); extern const char *print_tainted(void);