mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
sched: Convert pi_lock to raw_spinlock
Convert locks which cannot be sleeping locks in preempt-rt to raw_spinlocks. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
fe841226bd
commit
1d61548254
8 changed files with 61 additions and 61 deletions
|
@ -37,8 +37,8 @@ do { \
|
|||
if (rt_trace_on) { \
|
||||
rt_trace_on = 0; \
|
||||
console_verbose(); \
|
||||
if (spin_is_locked(¤t->pi_lock)) \
|
||||
spin_unlock(¤t->pi_lock); \
|
||||
if (raw_spin_is_locked(¤t->pi_lock)) \
|
||||
raw_spin_unlock(¤t->pi_lock); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue