export the console redirection handle to allow
the debugger screen to becoime visible again during exceptions. Export
of this variable allows the debugger to switch to the current screen
in order to enable the debugging console on systems with a redirected
system console.
Signed-off-by: Jeffrey Vernon Merkey ([email protected])
--- a/drivers/char/vt.c 2008-08-13 14:22:15.000000000 -0600
+++ b/drivers/char/vt.c 2008-08-13 11:56:03.000000000 -0600
@@ -188,6 +188,10 @@
int want_console = -1;
int kmsg_redirect;
+#if defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL_GPL(kmsg_redirect);
+#endif
+
/*
* For each existing display, we have a pointer to console currently visible
* on that display, allowing consoles other than fg_console to be refreshed