OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89eb43
)
x86: fix 32-bit ioapic lockup with sparseirqs
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Thu, 21 Aug 2008 19:56:32 +0000
(12:56 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:52:59 +0000
(16:52 +0200)
Missed two lines when copying.
Fix panic on one of Ingo's machines that need to adjust ioapic id when
acpi off/ 32bit.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/io_apic.c
b/arch/x86/kernel/io_apic.c
index
7ca5566
..
4e44fd1
100644
(file)
--- a/
arch/x86/kernel/io_apic.c
+++ b/
arch/x86/kernel/io_apic.c
@@
-2077,6
+2077,8
@@
static void __init setup_ioapic_ids_from_mpc(void)
reg_00.bits.ID = mp_ioapics[apic].mp_apicid;
spin_lock_irqsave(&ioapic_lock, flags);
+ io_apic_write(apic, 0, reg_00.raw);
+ spin_unlock_irqrestore(&ioapic_lock, flags);
/*
* Sanity check