commit | 31705e21f9b5a0628c043f88ff4d20488b47b8ab | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Mon May 02 07:59:02 2011 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon May 23 12:49:59 2011 +0900 |
tree | 220d1a8c0a83fec0450b7944d1af94ff9902b77f | |
parent | 467017b83b5bc445be5d275cf727b4f7ba3d2b2d [diff] |
dmaengine: shdma: synchronize RCU before freeing, simplify spinlock 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>