x86: make irqinit_32.c more like irqinit_64.c, v2
authorYinghai Lu <yinghai@kernel.org>
Sun, 25 Jan 2009 10:38:09 +0000 (02:38 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Jan 2009 22:37:11 +0000 (23:37 +0100)
Impact: cleanup

1. add smp_intr_init and apic_intr_init for 32bit, the same as 64bit
2. move the apic_intr_init() call before set gate with interrupt[i]
3. for 64bit, if ia32_emulation is not used, will make per_cpu to use 0x80 vector.

[ v2: should use !test_bit() instead of test_bit() with 32bit ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found