aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/mach-common/cdef_LPBlackfin.h
diff options
context:
space:
mode:
authorPierre Peiffer <pierre.peiffer@bull.net>2007-10-19 02:40:55 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:48 -0400
commitc530c6ac7eb1d4ae1ff6b382d9211be446ee82c6 (patch)
treef36b7323f4c60f859107f74014ae67da6d63d49f /include/asm-blackfin/mach-common/cdef_LPBlackfin.h
parent1b531f213661657d6e1c55cf5c97f649d630c227 (diff)
IPC: cleanup some code and wrong comments about semundo list managment
Some comments about sem_undo_list seem wrong. About the comment above unlock_semundo: "... If task2 now exits before task1 releases the lock (by calling unlock_semundo()), then task1 will never call spin_unlock(). ..." This is just wrong, I see no reason for which task1 will not call spin_unlock... The rest of this comment is also wrong... Unless I miss something (of course). Finally, (un)lock_semundo functions are useless, so remove them for simplification. (this avoids an useless if statement) Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Cc: Nadia Derbey <Nadia.Derbey@bull.net> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-blackfin/mach-common/cdef_LPBlackfin.h')
0 files changed, 0 insertions, 0 deletions