mdb: export the console redirection handle
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.
Signed-off-by Jeffrey Vernon Merkey ([email protected])
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