Commit aa3a6f456f6ca162d3406a6e2c09a5c928833e4f
Committed by
Linus Torvalds
1 parent
23f88fe4bf
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff