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~78^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8047310ee984b3efe932ee5b561f2523396466dd;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