diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-03-21 22:30:42 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-02 13:56:33 +0300 |
| commit | 12ebba42d2f1eadc0f897ffeb6dbcfaf2449e107 (patch) | |
| tree | c98cd3286ed527e600b20be536f8b698c5ea4d33 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | f186b2dace86f36cc08872b693185eaf71128898 (diff) | |
| download | linux-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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
