Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144189
b: refs/heads/master
c: c5428e9
h: refs/heads/master
i:
  144187: 89221bb
v: v3
  • Loading branch information
Coly Li authored and Ingo Molnar committed Apr 22, 2009
1 parent 8a46c61 commit 86d1289
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 7a6f9cbb37120c745fc187083fb5c3de4dca4f97
refs/heads/master: c5428e950ad42640f00092949fd17e356dfdeafa
10 changes: 5 additions & 5 deletions trunk/arch/x86/kernel/uv_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#define RTC_NAME "sgi_rtc"

static cycle_t uv_read_rtc(void);
static cycle_t uv_read_rtc(struct clocksource *cs);
static int uv_rtc_next_event(unsigned long, struct clock_event_device *);
static void uv_rtc_timer_setup(enum clock_event_mode,
struct clock_event_device *);
Expand Down Expand Up @@ -123,7 +123,7 @@ static int uv_setup_intr(int cpu, u64 expires)
/* Initialize comparator value */
uv_write_global_mmr64(pnode, UVH_INT_CMPB, expires);

return (expires < uv_read_rtc() && !uv_intr_pending(pnode));
return (expires < uv_read_rtc(NULL) && !uv_intr_pending(pnode));
}

/*
Expand Down Expand Up @@ -256,7 +256,7 @@ static int uv_rtc_unset_timer(int cpu)

spin_lock_irqsave(&head->lock, flags);

if (head->next_cpu == bcpu && uv_read_rtc() >= *t)
if (head->next_cpu == bcpu && uv_read_rtc(NULL) >= *t)
rc = 1;

*t = ULLONG_MAX;
Expand All @@ -278,7 +278,7 @@ static int uv_rtc_unset_timer(int cpu)
/*
* Read the RTC.
*/
static cycle_t uv_read_rtc(void)
static cycle_t uv_read_rtc(struct clocksource *cs)
{
return (cycle_t)uv_read_local_mmr(UVH_RTC);
}
Expand All @@ -291,7 +291,7 @@ static int uv_rtc_next_event(unsigned long delta,
{
int ced_cpu = cpumask_first(ced->cpumask);

return uv_rtc_set_timer(ced_cpu, delta + uv_read_rtc());
return uv_rtc_set_timer(ced_cpu, delta + uv_read_rtc(NULL));
}

/*
Expand Down

0 comments on commit 86d1289

Please sign in to comment.