x86: Unify rwsem assembly implementation
authorJan Beulich <JBeulich@novell.com>
Tue, 19 Jul 2011 12:00:19 +0000 (13:00 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 07:03:32 +0000 (09:03 +0200)
commita738669464a1e0d8e7b20f631120192f9cf7cfbd
tree1388cef07865ef0f8ddd298bfdbebbbe25efc514
parent4625cd637919edfb562e0d62abf94f52e9321335
x86: Unify rwsem assembly implementation

Rather than having two functionally identical implementations
for 32- and 64-bit configurations, use the previously extended
assembly abstractions to fold the rwsem two implementations into
a shared one.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4E258DF3020000780004E3ED@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/um/sys-i386/Makefile
arch/um/sys-x86_64/Makefile
arch/x86/lib/Makefile
arch/x86/lib/rwsem.S [moved from arch/x86/lib/rwsem_64.S with 55% similarity]
arch/x86/lib/semaphore_32.S [deleted file]