diff options
author | Clark Williams <[email protected]> | 2019-10-08 13:00:21 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-03-21 10:01:02 +0100 |
commit | afa58b49ac52dff053e1bb363a425f09dbebc0a3 (patch) | |
tree | b305b0830b15a43bfd4d75768da2584790fa0f17 /lib/bug.c | |
parent | fd96a316d2647c7566a41987c8ba32c7d55cfdf1 (diff) |
thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t
The spinlock pkg_temp_lock has the potential of being taken in atomic
context because it can be acquired from the thermal IRQ vector.
It's static and limited scope so go ahead and make it a raw spinlock.
Signed-off-by: Clark Williams <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions