Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123236
b: refs/heads/master
c: b2e3c0a
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Dec 18, 2008
1 parent d24074b commit cfeb37b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0a99b227da57f81319dd239bc4de811b0f530ec
refs/heads/master: b2e3c0adec918ea22b6c9d7c76193dd3aaba9bd4
6 changes: 5 additions & 1 deletion trunk/kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, scpu = (long)hcpu;
int scpu = (long)hcpu;

switch (action) {

Expand All @@ -1583,10 +1583,14 @@ static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self,
#ifdef CONFIG_HOTPLUG_CPU
case CPU_DEAD:
case CPU_DEAD_FROZEN:
{
int dcpu;

clockevents_notify(CLOCK_EVT_NOTIFY_CPU_DEAD, &scpu);
dcpu = migrate_hrtimers(scpu);
smp_call_function_single(dcpu, tickle_timers, NULL, 0);
break;
}
#endif

default:
Expand Down

0 comments on commit cfeb37b

Please sign in to comment.