summaryrefslogtreecommitdiffstats
path: root/drivers/idle/intel_idle.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-15 20:35:47 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-17 14:32:59 +0100
commita335b1e6bb29300d3bc6749763a4298627e594ba (patch)
treed3da6e7772c4c3d469bc21a92c7d4bf50ca8f003 /drivers/idle/intel_idle.c
parentcpuidle: haltpoll: Call cpuidle_poll_state_init() later (diff)
downloadlinux-a335b1e6bb29300d3bc6749763a4298627e594ba.tar.xz
linux-a335b1e6bb29300d3bc6749763a4298627e594ba.zip
cpuidle: intel_idle: Update intel_idle() kerneldoc comment
Commit bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") moved the leave_mm() call away from intel_idle(), but it didn't update its kerneldoc comment accordingly, so do that now. Fixes: bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r--drivers/idle/intel_idle.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index e385ddf15b32..4ba4ab974dbe 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -122,9 +122,6 @@ static unsigned int mwait_substates __initdata;
* If the local APIC timer is not known to be reliable in the target idle state,
* enable one-shot tick broadcasting for the target CPU before executing MWAIT.
*
- * Optionally call leave_mm() for the target CPU upfront to avoid wakeups due to
- * flushing user TLBs.
- *
* Must be called under local_irq_disable().
*/
static __cpuidle int intel_idle(struct cpuidle_device *dev,