]> git.baikalelectronics.ru Git - kernel.git/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)
commit57133c141b26d8beb36c657b84d96e2f43ff55ae
tree89c5b76c34555ad0883512d26aef21c11d7868f9
parentc34ca13145363ca77ef8809cf2b62067c08b6a58
[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