diff options
author | Clark Williams <williams@redhat.com> | 2019-10-08 13:00:21 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-28 13:21:08 +0100 |
commit | fc32150e6f43d6cb93ea75937bb6a88a1764cc37 (patch) | |
tree | 3b5699e3b9404305753a63106f0743d5f9abb676 /fs/buffer.c | |
parent | 51e69e6551a8c6fffe0185ba305bb4e2d7223616 (diff) | |
download | lwn-fc32150e6f43d6cb93ea75937bb6a88a1764cc37.tar.gz lwn-fc32150e6f43d6cb93ea75937bb6a88a1764cc37.zip |
thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t
The pkg_temp_lock spinlock is acquired in the thermal vector handler which
is truly atomic context even on PREEMPT_RT kernels.
The critical sections are tiny, so change it to a raw spinlock.
Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191008110021.2j44ayunal7fkb7i@linutronix.de
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions