[S390] prevent softirqs if delay is called disabled
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 21 Feb 2007 09:55:00 +0000 (10:55 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 21 Feb 2007 09:55:00 +0000 (10:55 +0100)
commitbf6f6aa46feada857a52cb67d99a7c2fe4a70e87
tree930dbd9bcd693cd7f3487fe8072bb0548131ff51
parent489c80ba8aa9dde8244897cba33a9372c897e531
[S390] prevent softirqs if delay is called disabled

The new delay implementation uses the clock comparator and an external
interrupt even if it is called disabled for interrupts. To do this
all external interrupt source except clock comparator are switched of
before enabling external interrupts. The external interrupt at the
end of the delay period may not execute softirqs or we can end up in a
dead-lock.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/delay.c