aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mach-visws/traps.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-10 16:29:28 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-10 18:55:32 +0200
commit22d5c67c5b0476e463ce4b632ba9ec3953d33a5f (patch)
tree2a0e19587aa081c48f3cbb60585d47ebc9c52294 /arch/x86/mach-visws/traps.c
parent3b33553badcde952adcf3b3ba5faae38d7d85071 (diff)
x86, VisWS: turn into generic arch, make VisWS boot on a regular PC
first step: make the VISWS subarch boot on a regular PC. We take various shortcuts for that. We copy the generic arch setup file over into the VISWS setup file. This is the only step that is not expected to boot on a real VISWS. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-visws/traps.c')
-rw-r--r--arch/x86/mach-visws/traps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mach-visws/traps.c b/arch/x86/mach-visws/traps.c
index bfac6ba10f8..dd1f5fa9421 100644
--- a/arch/x86/mach-visws/traps.c
+++ b/arch/x86/mach-visws/traps.c
@@ -25,13 +25,13 @@ static __init void lithium_init(void)
if ((li_pcia_read16(PCI_VENDOR_ID) != PCI_VENDOR_ID_SGI) ||
(li_pcia_read16(PCI_DEVICE_ID) != PCI_DEVICE_ID_SGI_LITHIUM)) {
printk(KERN_EMERG "Lithium hostbridge %c not found\n", 'A');
- panic("This machine is not SGI Visual Workstation 320/540");
+/* panic("This machine is not SGI Visual Workstation 320/540"); */
}
if ((li_pcib_read16(PCI_VENDOR_ID) != PCI_VENDOR_ID_SGI) ||
(li_pcib_read16(PCI_DEVICE_ID) != PCI_DEVICE_ID_SGI_LITHIUM)) {
printk(KERN_EMERG "Lithium hostbridge %c not found\n", 'B');
- panic("This machine is not SGI Visual Workstation 320/540");
+/* panic("This machine is not SGI Visual Workstation 320/540"); */
}
li_pcia_write16(LI_PCI_INTEN, ALLDEVS);
@@ -62,7 +62,7 @@ static __init void cobalt_init(void)
co_apic_read(CO_APIC_ID));
}
-void __init trap_init_hook(void)
+void __init trap_init_hook_dontuse(void)
{
lithium_init();
cobalt_init();