From: Guennadi Liakhovetski Date: Wed, 12 Dec 2012 14:38:14 +0000 (+0100) Subject: mmc: sh-mmcif: fix a race, causing an Oops on SMP X-Git-Tag: v3.9-rc1~35^2~58^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20bec813edbef479bfc771abd037fc92e1ddf02;p=pandora-kernel.git mmc: sh-mmcif: fix a race, causing an Oops on SMP Oopses have been observed on SMP in the sh-mmcif IRQ thread, when the two IRQ threads run simultaneously on two CPUs. Also take care to guard the timeout work and the DMA completion callback from possible NULL-pointer dereferences and races. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- Reading git-diff-tree failed