]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] xtensa: struct semaphore.sleepers initialization
authorArthur Othieno <a.othieno@bluewin.ch>
Mon, 7 Nov 2005 08:59:01 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:32 +0000 (07:53 -0800)
commit64e21693d27c59ac6bae1c069bd63f4ad8880436
tree4a00d3d18f2a1f0615752ce85a343c0dffa55e37
parent6057bd79e0b159e65e1009b34144df8913853782
[PATCH] xtensa: struct semaphore.sleepers initialization

No one may sleep on us until we've been down()'d.  So on allocation,
initialize `sleepers' to 0, just like everyone else does.

Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
Acked-by: Christian Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-xtensa/semaphore.h