summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/console.c')
-rw-r--r--arch/alpha/kernel/console.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/alpha/kernel/console.c b/arch/alpha/kernel/console.c
index da711e3..6a61dee 100644
--- a/arch/alpha/kernel/console.c
+++ b/arch/alpha/kernel/console.c
@@ -61,7 +61,9 @@ locate_and_init_vga(void *(*sel_func)(void *, void *))
/* Set the VGA hose and init the new console. */
pci_vga_hose = hose;
- take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1);
+ console_lock();
+ do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1);
+ console_unlock();
}
void __init
OpenPOWER on IntegriCloud