]> git.baikalelectronics.ru Git - kernel.git/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)
commit42b23aed4931d8c86bf10ec4a4205aaaaa380b12
treeae35f543a333abe1a76852870c5a2579c02bc38a
parentaefd525998e8017bcf999045cf96bfe96c002186
[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