diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-17 17:59:15 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-12-14 23:55:33 +0100 |
commit | fe841226bd954fba4fd79f037a876053fe9c3217 (patch) | |
tree | 0819ff8a78b9eeed61a1dc26b5aa900f48d0c2e3 /kernel/sched_cpupri.h | |
parent | 0986b11b12ad2baed338385f79fd0dec58a23fc6 (diff) | |
download | kernel_samsung_tuna-fe841226bd954fba4fd79f037a876053fe9c3217.zip kernel_samsung_tuna-fe841226bd954fba4fd79f037a876053fe9c3217.tar.gz kernel_samsung_tuna-fe841226bd954fba4fd79f037a876053fe9c3217.tar.bz2 |
sched: Convert cpupri 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>
Diffstat (limited to 'kernel/sched_cpupri.h')
-rw-r--r-- | kernel/sched_cpupri.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_cpupri.h b/kernel/sched_cpupri.h index 9a7e859..7cb5bb6 100644 --- a/kernel/sched_cpupri.h +++ b/kernel/sched_cpupri.h @@ -12,7 +12,7 @@ /* values 2-101 are RT priorities 0-99 */ struct cpupri_vec { - spinlock_t lock; + raw_spinlock_t lock; int count; cpumask_var_t mask; }; |