Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286493
b: refs/heads/master
c: 63ff07b
h: refs/heads/master
i:
  286491: 008c557
v: v3
  • Loading branch information
Yanmin Zhang authored and Len Brown committed Jan 17, 2012
1 parent a55b010 commit 6336e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39a74fdedd1c1461d6fb6d330b5266886513c98f
refs/heads/master: 63ff07beaebef2a82da41cf04053ae88b579226d
3 changes: 1 addition & 2 deletions trunk/drivers/idle/intel_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 6336e66

Please sign in to comment.