commit | b7b40ade58e621851896aa261452df99d4e9d99b | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Mon Nov 09 21:01:59 2009 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon Dec 14 23:55:32 2009 +0100 |
tree | 6ff6d2adea28376b86875cd070fbea6d4473d029 | |
parent | 3ea6b3d0e6d0ffd91c0f8cadeb69b7133c038b32 [diff] |
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>