commit | aa3a6f456f6ca162d3406a6e2c09a5c928833e4f | [log] [tgz] |
---|---|---|
author | Arthur Othieno <a.othieno@bluewin.ch> | Mon Nov 07 00:59:01 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Nov 07 07:53:32 2005 -0800 |
tree | 4a00d3d18f2a1f0615752ce85a343c0dffa55e37 | |
parent | 23f88fe4bffe01a0d29326789cb5813cd6f8158e [diff] |
[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>