Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23800
b: refs/heads/master
c: 9ede6b0
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Mar 25, 2006
1 parent 418b5fc commit 29cc570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51f62e186b78f8743246a349b09be370c8735479
refs/heads/master: 9ede6b0945223d1e353501f41b988a3db56b4e27
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ void main_timer_handler(struct pt_regs *regs)
{
static unsigned long rtc_update = 0;
unsigned long tsc;
int delay, offset = 0, lost = 0;
int delay = 0, offset = 0, lost = 0;

/*
* Here we are in the timer irq handler. We have irqs locally disabled (so we
Expand All @@ -375,7 +375,7 @@ void main_timer_handler(struct pt_regs *regs)
*/
offset = hpet_readl(HPET_T0_CMP) - hpet_tick;
delay = hpet_readl(HPET_COUNTER) - offset;
} else {
} else if (!pmtmr_ioport) {
spin_lock(&i8253_lock);
outb_p(0x00, 0x43);
delay = inb_p(0x40);
Expand Down

0 comments on commit 29cc570

Please sign in to comment.