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

Commit a0a99b22 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

hrtimer: removing all ur callback modes, fix



> Ingo, this addition fixes the hotplug issue on my machine

And because we're all human...

Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 37810659
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1571,7 +1571,7 @@ static void tickle_timers(void *arg)
static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self,
					unsigned long action, void *hcpu)
{
	int dcpu = -1, scpu = (long)hcpu;
	int dcpu, scpu = (long)hcpu;

	switch (action) {

@@ -1585,12 +1585,6 @@ static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self,
	case CPU_DEAD_FROZEN:
		clockevents_notify(CLOCK_EVT_NOTIFY_CPU_DEAD, &scpu);
		dcpu = migrate_hrtimers(scpu);
		break;

	case CPU_POST_DEAD:
		if (dcpu == -1)
			break;

		smp_call_function_single(dcpu, tickle_timers, NULL, 0);
		break;
#endif