x86: Unify rwlock assembly implementation
commit4625cd637919edfb562e0d62abf94f52e9321335
authorJan Beulich <JBeulich@novell.com>
Tue, 19 Jul 2011 11:59:51 +0000 (19 12:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jul 2011 07:03:31 +0000 (21 09:03 +0200)
tree88c4cf965722fb54731a6e8f632ec6ef6e83e194
parentdd2897bf0f4d523238e87dabb23e9634ea9ba73d
x86: Unify rwlock assembly implementation

Rather than having two functionally identical implementations
for 32- and 64-bit configurations, extend the existing assembly
abstractions enough to fold the two rwlock 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/4E258DD7020000780004E3EA@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/asm.h
arch/x86/include/asm/frame.h
arch/x86/lib/Makefile
arch/x86/lib/rwlock.S [new file with mode: 0644]
arch/x86/lib/rwlock_64.S [deleted file]
arch/x86/lib/semaphore_32.S