]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Clean up read write lock assembly
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
commit9a0b26e6bc4ae1979d9bcc6194e57a71b2b5cac6
tree01601a502007b85d4fc88f79de7a93c257ef9d97
parentb4062b16094038334d9bbadac0397a3fc9e981b0
[PATCH] Clean up read write lock assembly

- Move the slow path fallbacks to their own assembly files
This makes them much easier to read and is needed for the next change.
- Add CFI annotations for unwinding (XXX need review)
- Remove constant case which can never happen with out of line spinlocks
- Use patchable LOCK prefixes
- Don't use lock sections anymore for inline code because they can't
be expressed by the unwinder (this adds one taken jump to the lock
fast path)

Cc: jbeulich@novell.com
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/lib/Makefile
arch/x86_64/lib/rwlock.S [new file with mode: 0644]
arch/x86_64/lib/thunk.S
include/asm-x86_64/rwlock.h
include/asm-x86_64/spinlock.h