|
@@ -67,7 +67,8 @@ static void tick_broadcast_start_periodic(struct clock_event_device *bc)
|
|
*/
|
|
*/
|
|
int tick_check_broadcast_device(struct clock_event_device *dev)
|
|
int tick_check_broadcast_device(struct clock_event_device *dev)
|
|
{
|
|
{
|
|
- if ((tick_broadcast_device.evtdev &&
|
|
|
|
|
|
+ if ((dev->features & CLOCK_EVT_FEAT_DUMMY) ||
|
|
|
|
+ (tick_broadcast_device.evtdev &&
|
|
tick_broadcast_device.evtdev->rating >= dev->rating) ||
|
|
tick_broadcast_device.evtdev->rating >= dev->rating) ||
|
|
(dev->features & CLOCK_EVT_FEAT_C3STOP))
|
|
(dev->features & CLOCK_EVT_FEAT_C3STOP))
|
|
return 0;
|
|
return 0;
|