commit | bb3f0b59ad005d2d2ecbbe9bd048eab6d1ecbd31 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Sun Jan 25 02:38:09 2009 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Jan 26 23:37:11 2009 +0100 |
tree | fd503e9a65bd77601cea99a892a031c6ba086fd8 | |
parent | 3415dd9146c574bffe8f012c096bfc2bc62b9508 [diff] |
x86: make irqinit_32.c more like irqinit_64.c, v2 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>