On Sat, Apr 23, 2005 at 04:56:09PM -0700, Andrew Morton wrote: > Adrian Bunk wrote: > > > > I didn't find any possible modular usage in the kernel. > > > > panic_timeout has many in-kernel users and it is used from within a module > in 2.4.30. > > Hence it is easily possible that some out-of-tree code is dependent upon > this export, hence I shan't be applying this patch. Patch to deprecate it is below. cu Adrian <-- snip --> Signed-off-by: Andrew Morton --- Documentation/feature-removal-schedule.txt | 8 ++++++++ include/linux/kernel.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff -puN Documentation/feature-removal-schedule.txt~__deprecated_for_modules-panic_timeout Documentation/feature-removal-schedule.txt --- devel/Documentation/feature-removal-schedule.txt~__deprecated_for_modules-panic_timeout 2005-07-26 18:16:23.000000000 -0700 +++ devel-akpm/Documentation/feature-removal-schedule.txt 2005-07-26 18:16:54.000000000 -0700 @@ -129,6 +129,14 @@ Who: Adrian Bunk --------------------------- +What: remove EXPORT_SYMBOL(panic_timeout) +When: April 2006 +Files: kernel/panic.c +Why: No modular usage in the kernel. +Who: Adrian Bunk + +--------------------------- + What: ip_queue and ip6_queue (old ipv4-only and ipv6-only netfilter queue) When: December 2005 Why: This interface has been obsoleted by the new layer3-independent diff -puN include/linux/kernel.h~__deprecated_for_modules-panic_timeout include/linux/kernel.h --- devel/include/linux/kernel.h~__deprecated_for_modules-panic_timeout 2005-07-26 18:16:23.000000000 -0700 +++ devel-akpm/include/linux/kernel.h 2005-07-26 18:16:23.000000000 -0700 @@ -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); _