From: Jeff Garzik Date: Fri, 27 Jul 2007 17:00:48 +0000 (-0400) Subject: [SCSI] arcmsr: Fix hardware wait loops X-Git-Tag: v2.6.24-rc1~1290^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24430458bb924e371ff894e26bfa9f73707f53fb;p=pandora-kernel.git [SCSI] arcmsr: Fix hardware wait loops Remove _interruptible, since receiving a signal while waiting on a hardware condition will simply cause the driver to busy-wait. Using msleep_interruptible() is rarely the right thing to do, when waiting on a hardware condition to change. Also, replace msleep with ssleep while doing this, where appropriate. [jejb: fix up merge conflict] Signed-off-by: Jeff Garzik Acked-by: Nick Cheng Signed-off-by: James Bottomley --- Reading git-diff-tree failed