dmaengine: shdma: synchronize RCU before freeing, simplify spinlock
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 2 May 2011 07:59:02 +0000 (07:59 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 23 May 2011 03:49:59 +0000 (12:49 +0900)
List elements, deleted using list_del_rcu(), cannot be freed without
synchronising RCU. Further, the spinlock, used to protect the RCU
writer, is called in process context, so, we don't have to save flags.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found