Commit 2b213f72 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Jun Tian
Browse files

cpuidle: intel_idle: Update intel_idle() kerneldoc comment

mainline inclusion
from mainline-v5.18-rc1
commit a335b1e6
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5BECY


CVE: NA

Intel-SIG: commit a335b1e6 cpuidle: intel_idle: Update intel_idle()
kerneldoc comment.
Backport intel_idle driver

--------------------------------

Commit bf9282dc ("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: bf9282dc ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic")

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avataryingbao jia <yingbao.jia@intel.com>
Signed-off-by: default avatarJun Tian <jun.j.tian@intel.com>
parent 5e98d44d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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,