diff options
author | 2009-11-09 21:01:59 +0100 | |
---|---|---|
committer | 2009-12-14 23:55:32 +0100 | |
commit | b7b40ade58e621851896aa261452df99d4e9d99b (patch) | |
tree | 6ff6d2adea28376b86875cd070fbea6d4473d029 /lib/spinlock_debug.c | |
parent | Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6 (diff) | |
download | linux-rng-b7b40ade58e621851896aa261452df99d4e9d99b.tar.xz linux-rng-b7b40ade58e621851896aa261452df99d4e9d99b.zip |
locking: Reorder functions in spinlock.c
Separate spin_lock and rw_lock functions. Preempt-RT needs to exclude
the rw_lock functions from being compiled. The reordering allows to do
that with a single #ifdef.
No functional change.
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 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions