[PATCH] i386: Redo semaphore and rwlock assembly helpers
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:29 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:29 +0000 (10:52 +0200)
commitecaf45ee5ce60afe7cc46e91d82c1b0cbda09387
tree09ff150151dc6724f250da068c2653dc13b4e3c0
parent07c9819b31eda7954feddc83f2fae035f31c11e1
[PATCH] i386: Redo semaphore and rwlock assembly helpers

- Move them to a pure assembly file. Previously they were in
a C file that only consisted of inline assembly. Doing it in pure
assembler is much nicer.
- Add a frame.i include with FRAME/ENDFRAME macros to easily
add frame pointers to assembly functions
- Add dwarf2 annotation to them so that the new dwarf2 unwinder
doesn't get stuck on them
- Random cleanups

Includes feedback from Jan Beulich and a UML build fix from Andrew
Morton.

Cc: jbeulich@novell.com
Cc: jdike@addtoit.com
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/Makefile
arch/i386/kernel/semaphore.c [deleted file]
arch/i386/lib/Makefile
arch/i386/lib/semaphore.S [new file with mode: 0644]
arch/um/sys-i386/Makefile
include/asm-i386/frame.i [new file with mode: 0644]
include/asm-um/alternative-asm.i [new file with mode: 0644]
include/asm-um/frame.i [new file with mode: 0644]