]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hysdn: Remove cli()/sti() calls.
authorMark Asselstine <mark.asselstine@windriver.com>
Thu, 15 May 2008 06:25:33 +0000 (23:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2008 06:25:33 +0000 (23:25 -0700)
commita9dd7fe28742c6b22eb8f214a04c4d2bcb2c0899
tree94addd5bd6fa29f29f5501c33f3d4c9ba203d936
parenta1a61a435b3cc157830b7d42b175151ae5eabdd3
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>
drivers/isdn/hysdn/boardergo.c