]> err.no Git - linux-2.6/commit
[PATCH] mutex: some cleanups
authorNicolas Pitre <nico@cam.org>
Fri, 31 Mar 2006 10:32:13 +0000 (02:32 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:01 +0000 (12:19 -0800)
commite358c1a2c45f7ec32d77cc09a2bb42d6823a4193
treeae35f543a333abe1a76852870c5a2579c02bc38a
parenta58e00e7da5f93c096527f5e20ceb2cf6d130cf0
[PATCH] mutex: some cleanups

Turn some macros into inline functions and add proper type checking as
well as being more readable.  Also a minor comment adjustment.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/mutex-dec.h
include/asm-generic/mutex-xchg.h