]> git.karo-electronics.de Git - karo-tx-linux.git/commit
locking: Implement new raw_spinlock
authorThomas Gleixner <tglx@linutronix.de>
Wed, 2 Dec 2009 19:02:59 +0000 (20:02 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Dec 2009 22:55:32 +0000 (23:55 +0100)
commitc2f21ce2e31286a0a32f8da0a7856e9ca1122ef3
tree6cc8d1fd37ffa6d02481353857b92734241f4dd0
parente5931943d02bf751b1ec849c0d2ade23d76a8d41
locking: Implement new raw_spinlock

Now that the raw_spin name space is freed up, we can implement
raw_spinlock and the related functions which are used to annotate the
locks which are not converted to sleeping spinlocks in preempt-rt.

A side effect is that only such locks can be used with the low level
lock fsunctions which circumvent lockdep.

For !rt spin_* functions are mapped to the raw_spin* implementations.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
include/linux/spinlock.h
include/linux/spinlock_api_smp.h
include/linux/spinlock_api_up.h
include/linux/spinlock_types.h
kernel/mutex-debug.h
kernel/sched.c
kernel/spinlock.c
lib/spinlock_debug.c