x86/platform: Introduce APIC post-initialization callback
authorIdo Yariv <ido@wizery.com>
Sat, 2 Jun 2012 22:11:34 +0000 (01:11 +0300)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 07:06:19 +0000 (09:06 +0200)
commit7db971b235480849aa5b9209b67b62e987b3181b
treedbb69fb414c6de564bbbc079ae8038a4925a78a2
parentf9ba7179ce91fb77b2adf6eaab3676ab3a1f5a15
x86/platform: Introduce APIC post-initialization callback

Some subarchitectures (such as vSMP) need to slightly adjust the
underlying APIC structure. Add an APIC post-initialization callback
to 'struct x86_platform_ops' for this purpose and use it for
adjusting the APIC structure on vSMP systems.

Signed-off-by: Ido Yariv <ido@wizery.com>
Acked-by: Shai Fultheim <shai@scalemp.com>
Link: http://lkml.kernel.org/r/1338675095-27260-1-git-send-email-ido@wizery.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/x86_init.h
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/apic/probe_64.c
arch/x86/kernel/vsmp_64.c