aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched_cpupri.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-11-17 17:59:15 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-12-14 23:55:33 +0100
commitfe841226bd954fba4fd79f037a876053fe9c3217 (patch)
tree0819ff8a78b9eeed61a1dc26b5aa900f48d0c2e3 /kernel/sched_cpupri.h
parent0986b11b12ad2baed338385f79fd0dec58a23fc6 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_cpupri.h b/kernel/sched_cpupri.h
index 9a7e859b8fb..7cb5bb6b95b 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;
};