summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa2008-03-19 18:25:29 +0100
committerIngo Molnar2008-04-17 17:41:01 +0200
commitf68e00a32b4f5a2881c3a39d71cc2c22e92f1d99 (patch)
tree5cf8e7cc674b388c15d211b0433313ffb0f9000e /arch/x86/kernel/smpboot_64.c
parentx86: do smp tainting checks in a separate function (diff)
downloadkernel-qcow2-linux-f68e00a32b4f5a2881c3a39d71cc2c22e92f1d99.tar.gz
kernel-qcow2-linux-f68e00a32b4f5a2881c3a39d71cc2c22e92f1d99.tar.xz
kernel-qcow2-linux-f68e00a32b4f5a2881c3a39d71cc2c22e92f1d99.zip
x86: move impress_friends and smp_check to cpus_done
the cpu count is changed accordingly: now, what matters is online cpus. Also, we add those functions for x86_64 Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r--arch/x86/kernel/smpboot_64.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index a9cc91127b91..c3e770b0094b 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -824,12 +824,20 @@ int __cpuinit native_cpu_up(unsigned int cpu)
return err;
}
+extern void impress_friends(void);
+extern void smp_checks(void);
+
/*
* Finish the SMP boot.
*/
void __init native_smp_cpus_done(unsigned int max_cpus)
{
smp_cleanup_boot();
+
+ Dprintk("Boot done.\n");
+
+ impress_friends();
+ smp_checks();
setup_ioapic_dest();
check_nmi_watchdog();
}