From e4d459dc8e35d0c34362ee2848338f5c2ce3eac7 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Thu, 16 Sep 2004 22:00:27 -0700 Subject: [PATCH] [PATCH] x86-64: avoid panic when APIC ID cannot be set Don't panic when io apic id cannot be set. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/x86_64/kernel/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index e66a865f6cc9f..590264a15e21c 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c @@ -1230,7 +1230,7 @@ static void __init setup_ioapic_ids_from_mpc (void) reg_00.raw = io_apic_read(apic, 0); spin_unlock_irqrestore(&ioapic_lock, flags); if (reg_00.bits.ID != mp_ioapics[apic].mpc_apicid) - panic("could not set ID!\n"); + printk("could not set ID!\n"); else apic_printk(APIC_VERBOSE," ok.\n"); } -- 2.53.0