Skip to contentSkip to conversation

mdb: export the console redirection handle

PATCH In review [email protected] 1 participant 1 message Aug 14, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 20/29 mdb: export the console redirection handle

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.

drivers/char/vt.c +4 -0
@@ -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