[2.6 patch] the scheduled unexport of panic_timeout

From: Adrian Bunk
Date: Sat Apr 01 2006 - 08:12:46 EST


This patch contains the scheduled unexport of panic_timeout.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

@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(-)

--- linux-2.6.16-mm2-full/Documentation/feature-removal-schedule.txt.old 2006-04-01 12:44:08.000000000 +0200
+++ linux-2.6.16-mm2-full/Documentation/feature-removal-schedule.txt 2006-04-01 12:44:34.000000000 +0200
@@ -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 <bunk@xxxxxxxxx>
-
----------------------------
-
What: remove EXPORT_SYMBOL(insert_resource)
When: April 2006
Files: kernel/resource.c
--- linux-2.6.16-mm2-full/include/linux/kernel.h.old 2006-04-01 12:43:48.000000000 +0200
+++ linux-2.6.16-mm2-full/include/linux/kernel.h 2006-04-01 12:43:59.000000000 +0200
@@ -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);
--- linux-2.6.16-mm2-full/kernel/panic.c.old 2006-04-01 12:44:43.000000000 +0200
+++ linux-2.6.16-mm2-full/kernel/panic.c 2006-04-01 12:44:47.000000000 +0200
@@ -27,7 +27,6 @@
static DEFINE_SPINLOCK(pause_on_oops_lock);

int panic_timeout;
-EXPORT_SYMBOL(panic_timeout);

ATOMIC_NOTIFIER_HEAD(panic_notifier_list);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/