Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2012-01-17 15:51:33 +0100
committerThomas Renninger <trenn@suse.de>2012-01-17 15:51:33 +0100
commite81f7093f81f66a3c2aa6a39d2d77e423fc38be3 (patch)
tree9e29560075d35c1fa180ea60866e81f8f784d2d6
parent8e05e62fd005ab08d6e2ee1f1a9228ed0666aaaf (diff)
- Delete patches.fixes/intel_idle_add_flush_tlb_param.patch.
- Delete patches.fixes/intel_idle_lapic_param.patch. suse-commit: e18e8525e1aff80f64c28bbf7e1e0e886c32c9bb
-rw-r--r--drivers/idle/intel_idle.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 418c4b4b9b6b..5d2f8e13cf0e 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -93,7 +93,6 @@ static struct cpuidle_state *cpuidle_state_table;
*/
static unsigned long long auto_demotion_disable_flags;
-static int tlb_flushing;
/*
* 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.
@@ -254,7 +253,7 @@ static int intel_idle(struct cpuidle_device *dev,
* leave_mm() to avoid costly and often unnecessary wakeups
* for flushing the user TLB's associated with the active mm.
*/
- if (!tlb_flushing && state->flags & CPUIDLE_FLAG_TLB_FLUSHED)
+ if (state->flags & CPUIDLE_FLAG_TLB_FLUSHED)
leave_mm(cpu);
if (!(lapic_timer_reliable_states & (1 << (cstate))))
@@ -580,8 +579,6 @@ module_init(intel_idle_init);
module_exit(intel_idle_exit);
module_param(max_cstate, int, 0444);
-module_param(lapic_timer_reliable_states, uint, 0444);
-module_param(tlb_flushing, int, 0644);
MODULE_AUTHOR("Len Brown <len.brown@intel.com>");
MODULE_DESCRIPTION("Cpuidle driver for Intel Hardware v" INTEL_IDLE_VERSION);