summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-sb1250.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci-sb1250.c')
-rw-r--r--arch/mips/pci/pci-sb1250.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-sb1250.c b/arch/mips/pci/pci-sb1250.c
index cdefcc4cb8d4..fc634aeda4a5 100644
--- a/arch/mips/pci/pci-sb1250.c
+++ b/arch/mips/pci/pci-sb1250.c
@@ -283,7 +283,9 @@ static int __init sb1250_pcibios_init(void)
register_pci_controller(&sb1250_controller);
#ifdef CONFIG_VGA_CONSOLE
- 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();
#endif
return 0;
}