Showing the changes to kernel/time (1 of 1262 files). Show all
Unified · Split
| @@ -66,7 +66,8 @@ static void tick_broadcast_start_periodic(struct clock_event_device *bc) · 65 unmodified lines | ||
| 66 | 66 | */ |
| 67 | 67 | int tick_check_broadcast_device(struct clock_event_device *dev) |
| 68 | 68 | { |
| 69 | − if ((tick_broadcast_device.evtdev && | |
| 69 | + if ((dev->features & CLOCK_EVT_FEAT_DUMMY) || | |
| 70 | + (tick_broadcast_device.evtdev && | |
| 70 | 71 | tick_broadcast_device.evtdev->rating >= dev->rating) || |
| 71 | 72 | (dev->features & CLOCK_EVT_FEAT_C3STOP)) |
| 72 | 73 | return 0; |