|
@@ -232,6 +232,7 @@ static int get_driver_data(int cstate)
|
|
|
* @drv: cpuidle driver
|
|
|
* @index: index of cpuidle state
|
|
|
*
|
|
|
+ * Must be called under local_irq_disable().
|
|
|
*/
|
|
|
static int intel_idle(struct cpuidle_device *dev,
|
|
|
struct cpuidle_driver *drv, int index)
|
|
@@ -247,8 +248,6 @@ static int intel_idle(struct cpuidle_device *dev,
|
|
|
|
|
|
cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1;
|
|
|
|
|
|
- local_irq_disable();
|
|
|
-
|
|
|
/*
|
|
|
* leave_mm() to avoid costly and often unnecessary wakeups
|
|
|
* for flushing the user TLB's associated with the active mm.
|