From 95fbd6de59408dafdb704051151b2051a03c100d Mon Sep 17 00:00:00 2001 From: "Srivatsa S. Bhat" Date: Wed, 16 May 2012 00:32:17 +0530 Subject: [PATCH] --- yaml --- r: 300257 b: refs/heads/master c: ec2e0f9811a2c667d06feecb413c57f74c6b84f4 h: refs/heads/master i: 300255: 2c950ebccf04b6cbefc617c7d83270d2755f5c22 v: v3 --- [refs] | 2 +- trunk/arch/parisc/kernel/smp.c | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 69a8c320f39f..8e31d19a03ef 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3911ff30f5d1175e2e67e73244405e3492b35c79 +refs/heads/master: ec2e0f9811a2c667d06feecb413c57f74c6b84f4 diff --git a/trunk/arch/parisc/kernel/smp.c b/trunk/arch/parisc/kernel/smp.c index 0bb1d63907f8..4dc7b7942b4c 100644 --- a/trunk/arch/parisc/kernel/smp.c +++ b/trunk/arch/parisc/kernel/smp.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -295,8 +296,13 @@ smp_cpu_init(int cpunum) printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum); machine_halt(); - } + } + + notify_cpu_starting(cpunum); + + ipi_call_lock(); set_cpu_online(cpunum, true); + ipi_call_unlock(); /* Initialise the idle task for this CPU */ atomic_inc(&init_mm.mm_count);