From: Thomas Gleixner Date: Mon, 9 Nov 2009 20:01:59 +0000 (+0100) Subject: locking: Reorder functions in spinlock.c X-Git-Tag: v2.6.33-rc1~78^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b40ade58e621851896aa261452df99d4e9d99b;p=pandora-kernel.git 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 Acked-by: Peter Zijlstra Acked-by: Ingo Molnar --- Reading git-diff-tree failed