]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit934b2857cc576ae53c92a66e63fce7ddcfa74691
tree4a8e261d16739624bb91ed9f56062ec5f7401227
parent3a95e8eb34f595a0144adb6e5513d456319bd8a5
[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