diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:46:25 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:47:05 -0400 |
commit | 5a62b192196af9a798e2f2f4c6a1324e7edf2f4b (patch) | |
tree | 0aa96ba3153b257000be22e49befbde2b5bd6917 /drivers/s390/cio | |
parent | d7b906897e9caae452947e33674df0a2d6f7e10f (diff) |
[S390] Convert s390 to GENERIC_CLOCKEVENTS.
This way we get rid of s390's NO_IDLE_HZ and use the generic dynticks
variant instead. In addition we get high resolution timers for free.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r-- | drivers/s390/cio/cio.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c index 6dbe9488d3f..41db3cc653f 100644 --- a/drivers/s390/cio/cio.c +++ b/drivers/s390/cio/cio.c | |||
@@ -651,12 +651,9 @@ do_IRQ (struct pt_regs *regs) | |||
651 | old_regs = set_irq_regs(regs); | 651 | old_regs = set_irq_regs(regs); |
652 | irq_enter(); | 652 | irq_enter(); |
653 | s390_idle_check(); | 653 | s390_idle_check(); |
654 | if (S390_lowcore.int_clock >= S390_lowcore.jiffy_timer) | 654 | if (S390_lowcore.int_clock >= S390_lowcore.clock_comparator) |
655 | /** | 655 | /* Serve timer interrupts first. */ |
656 | * Make sure that the i/o interrupt did not "overtake" | 656 | clock_comparator_work(); |
657 | * the last HZ timer interrupt. | ||
658 | */ | ||
659 | account_ticks(S390_lowcore.int_clock); | ||
660 | /* | 657 | /* |
661 | * Get interrupt information from lowcore | 658 | * Get interrupt information from lowcore |
662 | */ | 659 | */ |