diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2009-10-06 10:34:04 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-10-06 10:35:08 +0200 |
commit | 78d81f2f844b739b377817cfd279fb6067e191a7 (patch) | |
tree | f252e003e3ead8079a35167eea19f54bc4047964 /arch/s390/include/asm/delay.h | |
parent | [S390] cio: allow setting boxed devices offline (diff) | |
download | linux-78d81f2f844b739b377817cfd279fb6067e191a7.tar.xz linux-78d81f2f844b739b377817cfd279fb6067e191a7.zip |
[S390] Fix enabled udelay for short delays.
When udelay() gets called with a delay that would expire before the
next clock event it reprograms the clock comparator.
When the interrupt happens the clock comparator won't be resetted
therefore the interrupt condition doesn't get cleared.
The result is an endless timer interrupt loop until the next clock
event would expire (stored in lowcore).
So udelay() usually would wait much longer for small delays than it
should.
Fix this by disabling the local tick which makes sure that the clock
comparator will be resetted when a timer interrupt happens.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/delay.h')
0 files changed, 0 insertions, 0 deletions