Re: [PATCH] x86: enable x2apic early at the first point

From: Ingo Molnar
Date: Fri Feb 20 2009 - 04:55:58 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> > arch/x86/kernel/apic/apic.c | 3 +--
> > arch/x86/kernel/apic/x2apic_cluster.c | 5 ++++-
> > arch/x86/kernel/apic/x2apic_phys.c | 5 ++++-
> > arch/x86/kernel/apic/x2apic_uv_x.c | 4 +++-
> > drivers/pci/dmar.c | 3 ++-
> > 5 files changed, 14 insertions(+), 6 deletions(-)
>
> I've applied it because it fixes a real bug, but this code
> really needs a cleanup. Look at the repeat patterns:

unapplied it again as it breaks the build:

arch/x86/kernel/apic/x2apic_cluster.c: In function 'x2apic_acpi_madt_oem_check':
arch/x86/kernel/apic/x2apic_cluster.c:17: error: 'disable_x2apic' undeclared (first use in this function)
arch/x86/kernel/apic/x2apic_cluster.c:17: error: (Each undeclared identifier is reported only once
arch/x86/kernel/apic/x2apic_cluster.c:17: error: for each function it appears in.)

so please resend the fixed and cleaned up version.

Thanks,

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/