summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic
diff options
context:
space:
mode:
authorThomas Gleixner2015-01-15 22:22:39 +0100
committerThomas Gleixner2015-01-22 15:10:56 +0100
commit30b8b0066cafef274fc92462578ee346211ce7cb (patch)
tree62d479f3d0c710ba2500522b86a295f579d86a55 /arch/x86/kernel/apic
parentx86/apic: Move apic_init_uniprocessor code (diff)
downloadkernel-qcow2-linux-30b8b0066cafef274fc92462578ee346211ce7cb.tar.gz
kernel-qcow2-linux-30b8b0066cafef274fc92462578ee346211ce7cb.tar.xz
kernel-qcow2-linux-30b8b0066cafef274fc92462578ee346211ce7cb.zip
init: Get rid of x86isms
The UP local API support can be set up from an early initcall. No need for horrible hackery in the init code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Borislav Petkov <bp@alien8.de> Link: http://lkml.kernel.org/r/20150115211703.827943883@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r--arch/x86/kernel/apic/apic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index c681e9ba9e47..19f1bc714ee6 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -2267,6 +2267,13 @@ int __init APIC_init_uniprocessor(void)
return 0;
}
+#ifdef CONFIG_UP_LATE_INIT
+void __init up_late_init(void)
+{
+ APIC_init_uniprocessor();
+}
+#endif
+
/*
* Power management
*/