Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230875
b: refs/heads/master
c: 956d033
h: refs/heads/master
i:
  230873: c17189c
  230871: 4511527
v: v3
  • Loading branch information
Len Brown committed Jan 12, 2011
1 parent b474586 commit 984e956
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 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: 642f11c53f17aee991d97d14e6922172849ef227
refs/heads/master: 956d033fb2eb3f8818260cdf01644bf4dc1a9e33
8 changes: 8 additions & 0 deletions trunk/drivers/idle/intel_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ static int intel_idle(struct cpuidle_device *dev, struct cpuidle_state *state);

static struct cpuidle_state *cpuidle_state_table;

/*
* Set this flag for states where the HW flushes the TLB for us
* and so we don't need cross-calls to keep it consistent.
* If this flag is set, SW flushes the TLB, so even if the
* HW doesn't do the flushing, this flag is safe to use.
*/
#define CPUIDLE_FLAG_TLB_FLUSHED 0x10000

/*
* States are indexed by the cstate number,
* which is also the index into the MWAIT hint array.
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/cpuidle.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ struct cpuidle_state {
#define CPUIDLE_FLAG_TIME_VALID (0x01) /* is residency time measurable? */
#define CPUIDLE_FLAG_CHECK_BM (0x02) /* BM activity will exit state */
#define CPUIDLE_FLAG_IGNORE (0x100) /* ignore during this idle period */
#define CPUIDLE_FLAG_TLB_FLUSHED (0x200) /* tlb will be flushed */

#define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000)

Expand Down

0 comments on commit 984e956

Please sign in to comment.