diff options
author | David S. Miller <davem@davemloft.net> | 2008-10-12 23:55:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-13 02:55:47 -0400 |
commit | 82960b8543cca5797a5e2841a9c43b8c5c669e65 (patch) | |
tree | a463dde0d9ac82b2251f19bef7cfa9fba72aeba4 /arch | |
parent | 4245e59d1239a5270670807b114856365a863df8 (diff) |
sparc64: Add missing notify_cpu_starting() call.
Commit e545a6140b698b2494daf0b32107bdcc5e901390 ("kernel/cpu.c: create
a CPU_STARTING cpu_chain notifier") added a notify_cpu_starting()
notifier event, and hit every arch except sparc64.
Fix that missed case.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/smp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index 2be166c544ca..e5627118e613 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/jiffies.h> | 21 | #include <linux/jiffies.h> |
22 | #include <linux/profile.h> | 22 | #include <linux/profile.h> |
23 | #include <linux/lmb.h> | 23 | #include <linux/lmb.h> |
24 | #include <linux/cpu.h> | ||
24 | 25 | ||
25 | #include <asm/head.h> | 26 | #include <asm/head.h> |
26 | #include <asm/ptrace.h> | 27 | #include <asm/ptrace.h> |
@@ -115,6 +116,9 @@ void __cpuinit smp_callin(void) | |||
115 | atomic_inc(&init_mm.mm_count); | 116 | atomic_inc(&init_mm.mm_count); |
116 | current->active_mm = &init_mm; | 117 | current->active_mm = &init_mm; |
117 | 118 | ||
119 | /* inform the notifiers about the new cpu */ | ||
120 | notify_cpu_starting(cpuid); | ||
121 | |||
118 | while (!cpu_isset(cpuid, smp_commenced_mask)) | 122 | while (!cpu_isset(cpuid, smp_commenced_mask)) |
119 | rmb(); | 123 | rmb(); |
120 | 124 | ||