diff options
author | Nick Piggin <npiggin@suse.de> | 2009-12-16 01:47:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 16:20:09 +0100 |
commit | 9cad200c7686708b326520a45dd680a4147568a6 (patch) | |
tree | 76a3299679ef23c945e9371f330559d6bc3d0a43 /net/phonet | |
parent | ipc/sem.c: sem optimise undo list search (diff) | |
download | linux-9cad200c7686708b326520a45dd680a4147568a6.tar.xz linux-9cad200c7686708b326520a45dd680a4147568a6.zip |
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 <npiggin@suse.de>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Pierre Peiffer <peifferp@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions