[PATCH 2.6.27-rc3 20/29] mdb: export the console redirection handle

From: jmerkey
Date: Thu Aug 14 2008 - 02:44:22 EST


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

--- 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
--
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/