commit | 9cad200c7686708b326520a45dd680a4147568a6 | [log] [tgz] |
---|---|---|
author | Nick Piggin <[email protected]> | Tue Dec 15 16:47:29 2009 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Dec 16 07:20:09 2009 -0800 |
tree | 76a3299679ef23c945e9371f330559d6bc3d0a43 | |
parent | bf17bb717759d50a2733a7a8157a7c4a25d93abc [diff] |
ipc/sem.c: sem use list operations Replace the handcoded list operations in update_queue() with the standard list_for_each_entry macros. list_for_each_entry_safe() must be used, because list entries can disappear immediately uppon the wakeup event. Signed-off-by: Nick Piggin <[email protected]> Signed-off-by: Manfred Spraul <[email protected]> Cc: Pierre Peiffer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>