Re: [PATCH] x86: make irqinit_32.c more like irqoinit_64.c

From: Ingo Molnar
Date: Mon Jan 26 2009 - 07:42:22 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

>
> Impact: cleanup
>
> 1. add smp_intr_init and apic_intr_init for 32bit the same as 64bit
> 2. move apic_intr_init() calling before set gate with interrupt[i]
> 3. for 64bit, if ia32_emulation is not used, will make per_cpu to use 0x80 vector.
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
>
> ---
> arch/x86/kernel/irqinit_32.c | 56 +++++++++++++++++++++++++------------------
> arch/x86/kernel/irqinit_64.c | 7 +++--
> arch/x86/kernel/traps.c | 15 ++++-------
> 3 files changed, 43 insertions(+), 35 deletions(-)

applied, thanks Yinghai!

Are you aiming for a full unification of them as well? The two files are
very close to each other now.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/