aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/viodasd.c
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2008-05-15 02:25:33 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-15 02:25:33 -0400
commita9dd7fe28742c6b22eb8f214a04c4d2bcb2c0899 (patch)
tree94addd5bd6fa29f29f5501c33f3d4c9ba203d936 /drivers/block/viodasd.c
parenta1a61a435b3cc157830b7d42b175151ae5eabdd3 (diff)
hysdn: Remove cli()/sti() calls.
The use of cli()/sti() within the do/while was a way to ensure interrupts were only disabled for short periods of time while the bulk of the time interrupts were free to occur. The use of the spin lock has eliminated the need to play with interrupts in this way while still allowing for IO to be protected. The remaining 3 sti() calls seem unneeded now that at no other point in the driver is there a call to cli(). Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Acked-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/viodasd.c')
0 files changed, 0 insertions, 0 deletions