summaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
commitdcec8a13bf565e47942a1751a9cec21bec5648fe (patch)
tree548b69625b18cc2e88c3e68d0923be546c9ebb03 /drivers/char/vt.c
parent2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff)
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r--drivers/char/vt.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 12924d2f5..6316be514 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -1188,20 +1188,14 @@ void complete_change_console(unsigned int new_console)
#ifdef CONFIG_SUN_CONSOLE
if (old_vc_mode != vt_cons[new_console]->vc_mode)
{
- extern void set_cursor(int currcons);
- extern void hide_cursor(void);
-
if (old_vc_mode == KD_GRAPHICS)
{
- extern void sun_clear_margin(void);
- extern void render_screen(void);
-
- sun_clear_margin();
- render_screen();
- set_cursor(fg_console);
+ suncons_ops.clear_margin();
+ suncons_ops.render_screen();
+ suncons_ops.set_cursor(fg_console);
}
else
- hide_cursor();
+ suncons_ops.hide_cursor();
}
#endif
/*