summaryrefslogtreecommitdiff
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-14 14:12:38 +0400
committerChris Ball <cjb@laptop.org>2011-07-21 18:35:05 +0400
commitb9269fdd4f61aa4d185c982b0f84a3e7b7ccb4d2 (patch)
tree73cd02b34f61e71d6a4ceff5c09b78a9ba17eadb /lib/reciprocal_div.c
parent15bed0f2fa8e1d7db201692532c210a7823d2d21 (diff)
downloadlinux-b9269fdd4f61aa4d185c982b0f84a3e7b7ccb4d2.tar.xz
mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled
Calling mmc_request_done() under a spinlock with interrupts disabled leads to a recursive spin-lock on request retry path and to scheduling in atomic context. This patch fixes both these problems by moving mmc_request_done() to the scheduler workqueue. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions