Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366205
b: refs/heads/master
c: c038c1c
h: refs/heads/master
i:
  366203: e61dd7d
v: v3
  • Loading branch information
Stephen Boyd authored and Thomas Gleixner committed Apr 17, 2013
1 parent e4e29a8 commit ffd5313
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3956a896ea57f25cacd74708b8fab611543a81d
refs/heads/master: c038c1c44179c80da6201f91ef354e48d5689617
10 changes: 10 additions & 0 deletions trunk/kernel/time/tick-broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ int tick_check_broadcast_device(struct clock_event_device *dev)
tick_broadcast_device.evtdev = dev;
if (!cpumask_empty(tick_broadcast_mask))
tick_broadcast_start_periodic(dev);
/*
* Inform all cpus about this. We might be in a situation
* where we did not switch to oneshot mode because the per cpu
* devices are affected by CLOCK_EVT_FEAT_C3STOP and the lack
* of a oneshot capable broadcast device. Without that
* notification the systems stays stuck in periodic mode
* forever.
*/
if (dev->features & CLOCK_EVT_FEAT_ONESHOT)
tick_clock_notify();
return 1;
}

Expand Down

0 comments on commit ffd5313

Please sign in to comment.