Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82960b85 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Add missing notify_cpu_starting() call.



Commit e545a614 ("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: default avatarDavid S. Miller <davem@davemloft.net>
parent 4245e59d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#include <linux/jiffies.h>
#include <linux/profile.h>
#include <linux/lmb.h>
#include <linux/cpu.h>

#include <asm/head.h>
#include <asm/ptrace.h>
@@ -115,6 +116,9 @@ void __cpuinit smp_callin(void)
	atomic_inc(&init_mm.mm_count);
	current->active_mm = &init_mm;

	/* inform the notifiers about the new cpu */
	notify_cpu_starting(cpuid);

	while (!cpu_isset(cpuid, smp_commenced_mask))
		rmb();