mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
hrtimers: Convert to raw_spinlocks
Convert locks which cannot be sleeping locks in preempt-rt to raw_spinlocks. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Acked-by: Ingo Molnar <[email protected]>
This commit is contained in:
1 parent
239007b844
commit
ecb49d1a63
4 files changed
+38
-37
No files matched your search
@@ -169,7 +169,7 @@ struct hrtimer_clock_base {
|
||||
* @max_hang_time: Maximum time spent in hrtimer_interrupt
|
||||
*/
|
||||
struct hrtimer_cpu_base {
|
||||
spinlock_t lock;
|
||||
raw_spinlock_t lock;
|
||||
struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
|
||||
#ifdef CONFIG_HIGH_RES_TIMERS
|
||||
ktime_t expires_next;
|
||||
|
||||
Reference in new issue
Block a user