diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-05-02 07:59:02 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-23 12:49:59 +0900 |
commit | 31705e21f9b5a0628c043f88ff4d20488b47b8ab (patch) | |
tree | 220d1a8c0a83fec0450b7944d1af94ff9902b77f /lib/klist.c | |
parent | 467017b83b5bc445be5d275cf727b4f7ba3d2b2d (diff) | |
download | op-kernel-dev-31705e21f9b5a0628c043f88ff4d20488b47b8ab.zip op-kernel-dev-31705e21f9b5a0628c043f88ff4d20488b47b8ab.tar.gz |
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions