summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/scpi-cpufreq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-03-21 22:30:42 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-02 13:56:33 +0300
commit12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107 (patch)
treec98cd3286ed527e600b20be536f8b698c5ea4d33 /drivers/cpufreq/scpi-cpufreq.c
parentf186b2dace86f36cc08872b693185eaf71128898 (diff)
downloadlinux-12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107.tar.xz
cpufreq: intel_pstate: Simplify spinlock locking
Because intel_pstate_enable/disable_hwp_interrupt() are only called from thread context, they need not save the IRQ flags when using a spinlock as interrupts are guaranteed to be enabled when they run, so make them use spin_lock/unlock_irq(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/scpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions