]> err.no Git - linux-2.6/commit
[S390] sclp: don't call local_bh_disable/_local_bh_enable if in_interrupt()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 5 Feb 2007 20:17:16 +0000 (21:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:17:16 +0000 (21:17 +0100)
commitc59d744bd8a0e283daf6726881e4c9aa4bd25261
tree89c5b76c34555ad0883512d26aef21c11d7868f9
parent444f0e5489e7ac4bca5c4748d7d846c352a5cd03
[S390] sclp: don't call local_bh_disable/_local_bh_enable if in_interrupt()

local_bh_disable/_local_bh_enable must not be called if in_irq() is
true. Besides that if in_interrupt() is true bottom halves are
disabled anyway.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.c