Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113044
b: refs/heads/master
c: a0b31b5
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 29, 2008
1 parent 4ca821d commit fc3037c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90de9dea3bfb80d0db9e6d1ff26f7ea7b2f1f0f5
refs/heads/master: a0b31b578f9ab34826703762113f9d42f3ae9819
5 changes: 5 additions & 0 deletions trunk/arch/sparc64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ static unsigned long timer_ticks_per_nsec_quotient __read_mostly;

int update_persistent_clock(struct timespec now)
{
struct rtc_device *rtc = rtc_class_open("rtc0");

if (rtc)
return rtc_set_mmss(rtc, now.tv_sec);

return set_rtc_mmss(now.tv_sec);
}

Expand Down

0 comments on commit fc3037c

Please sign in to comment.