Re: [PATCH 03/15] x86, apic: Merge two register_lapic_address()

From: Thomas Gleixner
Date: Sun Oct 24 2010 - 05:50:39 EST


On Sat, 23 Oct 2010, Yinghai Lu wrote:

> They are the same, move it to apic.c
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
> ---
> arch/x86/include/asm/apic.h | 1 +
> arch/x86/kernel/acpi/boot.c | 16 ++--------------
> arch/x86/kernel/apic/apic.c | 12 ++++++++++++
> arch/x86/kernel/mpparse.c | 12 ------------
> 4 files changed, 15 insertions(+), 26 deletions(-)
>
> diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
> index ad50aaa..dcc5f48 100644
> --- a/arch/x86/include/asm/apic.h
> +++ b/arch/x86/include/asm/apic.h
> @@ -234,6 +234,7 @@ extern void init_bsp_APIC(void);
> extern void setup_local_APIC(void);
> extern void end_local_APIC_setup(void);
> extern void init_apic_mappings(void);
> +void smp_register_lapic_address(unsigned long address);

And why must this be restricted to smp ?

Thanks,

tglx
--
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/