Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63561
b: refs/heads/master
c: 40d4857
h: refs/heads/master
i:
  63559: c60420f
v: v3
  • Loading branch information
Christoph Lameter authored and Tony Luck committed Aug 1, 2007
1 parent 8c709e8 commit 1f5014e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 224685c0d1ca5970364c9f5d4f21ea1aa64c381e
refs/heads/master: 40d485753423b87239cc16b6c8141ef8792324d9
7 changes: 2 additions & 5 deletions trunk/arch/ia64/sn/kernel/sn2/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@

extern unsigned long sn_rtc_cycles_per_second;

static void __iomem *sn2_mc;

static cycle_t read_sn2(void)
{
return (cycle_t)readq(sn2_mc);
return (cycle_t)readq(RTC_COUNTER_ADDR);
}

static struct clocksource clocksource_sn2 = {
.name = "sn2_rtc",
.rating = 300,
.rating = 450,
.read = read_sn2,
.mask = (1LL << 55) - 1,
.mult = 0,
Expand All @@ -58,7 +56,6 @@ ia64_sn_udelay (unsigned long usecs)

void __init sn_timer_init(void)
{
sn2_mc = RTC_COUNTER_ADDR;
clocksource_sn2.fsys_mmio = RTC_COUNTER_ADDR;
clocksource_sn2.mult = clocksource_hz2mult(sn_rtc_cycles_per_second,
clocksource_sn2.shift);
Expand Down

0 comments on commit 1f5014e

Please sign in to comment.