Yinghai Lu 1c69524c2e x86: clear IO_APIC before enabing apic error vector.
4 socket quad core, 8 socket quad core will do apic ID lifting for BSP.

But io-apic regs for ExtINT still use 0 as dest.

so when we enable apic error vector in BSP, we will get one APIC error.

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/4 -> Node 0
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
enabled ExtINT on CPU#0
ESR value after enabling vector: 00000000, after 0000000c
APIC error on CPU0: 0c(08)
ENABLING IO-APIC IRQs
Synchronizing Arb IDs.

So move enable_IO_APIC from setup_IO_APIC into setup_local_APIC and call it
before enabling the ACPI error vector.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:30:39 +01:00
..
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:35 +01:00
2007-10-23 22:37:23 +02:00
2008-01-30 13:30:36 +01:00
2007-10-17 20:17:12 +02:00
2008-01-30 13:30:36 +01:00
2008-01-30 13:30:38 +01:00
2007-10-17 20:17:13 +02:00
2008-01-30 13:30:32 +01:00
2007-10-25 16:16:26 -07:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:17:15 +02:00
2007-10-19 20:35:02 +02:00
2008-01-30 13:30:35 +01:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:17 +02:00
2008-01-30 13:30:13 +01:00
2007-10-23 22:37:23 +02:00
2007-10-22 21:20:01 +02:00
2007-10-16 11:26:02 +02:00
2008-01-30 13:30:20 +01:00
2007-10-17 20:17:18 +02:00
2007-10-17 20:17:19 +02:00
2007-10-23 22:37:23 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2007-10-17 20:24:56 +02:00
2008-01-30 13:30:20 +01:00
2008-01-30 13:30:29 +01:00
2008-01-30 13:30:28 +01:00
2007-10-17 20:26:11 +02:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:16 +01:00
2007-10-23 22:37:24 +02:00
2007-12-18 18:05:58 +01:00
2007-12-18 18:05:58 +01:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:30:17 +01:00
2007-10-17 20:26:15 +02:00
2007-10-23 22:37:22 +02:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:36 +01:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:17 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:31 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:18 +01:00
2007-10-19 11:53:41 -07:00
2007-11-14 18:45:44 -08:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:47 -07:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-01-30 13:30:36 +01:00
2008-01-30 13:30:36 +01:00
2008-01-30 13:30:34 +01:00
2007-10-17 20:16:11 +02:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-01-28 23:21:18 +01:00
2008-01-30 13:30:26 +01:00
2007-10-12 23:04:23 +02:00
2007-10-17 20:26:18 +02:00
2008-01-30 13:30:35 +01:00
2008-01-30 13:30:38 +01:00
2008-01-30 13:30:18 +01:00
2007-10-17 20:32:07 +02:00
2007-10-17 20:16:36 +02:00
2007-10-17 20:32:38 +02:00