|
@@ -210,7 +210,7 @@ int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv,
|
|
|
tick_broadcast_exit();
|
|
|
}
|
|
|
|
|
|
- if (!cpuidle_state_is_coupled(dev, drv, entered_state))
|
|
|
+ if (!cpuidle_state_is_coupled(drv, entered_state))
|
|
|
local_irq_enable();
|
|
|
|
|
|
diff = ktime_to_us(ktime_sub(time_end, time_start));
|
|
@@ -259,7 +259,7 @@ int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev)
|
|
|
int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev,
|
|
|
int index)
|
|
|
{
|
|
|
- if (cpuidle_state_is_coupled(dev, drv, index))
|
|
|
+ if (cpuidle_state_is_coupled(drv, index))
|
|
|
return cpuidle_enter_state_coupled(dev, drv, index);
|
|
|
return cpuidle_enter_state(dev, drv, index);
|
|
|
}
|