summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 01:01:44 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 07:54:08 -0800
commitdfed04492f2459e47dcb290be6ed5a8bc37096d5 (patch)
tree10b2b90d2fd270d86f381a06e535736ea7c16792
parent24622efd11fc5ee569b008b9f89e5e268265811b (diff)
downloadop-kernel-dev-dfed04492f2459e47dcb290be6ed5a8bc37096d5.zip
op-kernel-dev-dfed04492f2459e47dcb290be6ed5a8bc37096d5.tar.gz
[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>
-rw-r--r--Documentation/feature-removal-schedule.txt8
-rw-r--r--include/linux/kernel.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 7fd8c80..decdf99 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -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
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index b641948..b1e407a 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -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);
OpenPOWER on IntegriCloud