lkml.org 
[lkml]   [2010]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/15] x86, apic: Merge two register_lapic_address()
On Sat, 23 Oct 2010, Yinghai Lu wrote:

> They are the same, move it to apic.c
>
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
> ---
> 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


\
 
 \ /
  Last update: 2010-10-24 11:53    [from the cache]
©2003-2011 Jasper Spaans