]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] nohz/sclp: disable timer on synchronous waits.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 1 Aug 2008 14:39:11 +0000 (16:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Aug 2008 14:39:30 +0000 (16:39 +0200)
commit6a200c61c4ea64f2f449cb8ea71a6e09517105a0
tree4a8e261d16739624bb91ed9f56062ec5f7401227
parent49e176a15bdc0fdab00b6a26d69fbf7d3e0f39c5
[S390] nohz/sclp: disable timer on synchronous waits.

sclp_sync_wait wait synchronously for an sclp interrupt and disables
timer interrupts. However on the irq enter paths there is an extra
check if a timer interrupt would be due and calls the timer callback.
This would schedule softirqs in the wrong context.
So introduce local_tick_enable/disable which prevents this.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/delay.c
drivers/s390/char/sclp.c
include/asm-s390/hardirq.h