x86: Fix section mismatch in LAPIC initialization
authorJan Beulich <JBeulich@novell.com>
Wed, 9 Feb 2011 08:21:02 +0000 (08:21 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Feb 2011 12:26:53 +0000 (13:26 +0100)
commit2fb270f3212a1e6a73f86f76c85caee93aae4386
tree439f6cad53875482e770600b2b2d65f51446feac
parent100b33c8bd8a3235fd0b7948338d6cbb3db3c63d
x86: Fix section mismatch in LAPIC initialization

Additionally doing things conditionally upon smp_processor_id()
being zero is generally a bad idea, as this means CPU 0 cannot
be offlined and brought back online later again.

While there may be other places where this is done, I think adding
more of those should be avoided so that some day SMP can really
become "symmetrical".

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
LKML-Reference: <4D525C7E0200007800030EE1@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/smpboot.c