aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/mach-voyager/voyager_smp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c
index 5b8b579a079f..6e9e494c6c3d 100644
--- a/arch/i386/mach-voyager/voyager_smp.c
+++ b/arch/i386/mach-voyager/voyager_smp.c
@@ -1938,3 +1938,9 @@ smp_cpus_done(unsigned int max_cpus)
1938{ 1938{
1939 zap_low_mappings(); 1939 zap_low_mappings();
1940} 1940}
1941
1942void __init
1943smp_setup_processor_id(void)
1944{
1945 current_thread_info()->cpu = hard_smp_processor_id();
1946}