Re: [PATCH] fix RTC_CLASS regression with PARISC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Monday, September 8, 2008 - 4:44 pm

From: David Brownell <david-b@pacbell.net>
Date: Mon, 8 Sep 2008 16:29:20 -0700


My update_persistent_clock() on sparc64 is:

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 -1;
}

and that should handle this NTP shouldn't it?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 8:53 am)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 11:19 am)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 11:39 am)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 12:13 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 1:28 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 2:29 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 2:35 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 2:37 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 4:00 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 4:04 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 4:23 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 4:29 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 4:32 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 4:43 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 4:44 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 5:55 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Paul Mackerras, (Mon Sep 8, 6:22 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 7:52 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 8:17 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 8:51 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 9:14 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Andrew Morton, (Wed Sep 10, 2:04 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Randy.Dunlap, (Wed Sep 10, 2:09 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Wed Sep 10, 2:19 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Wed Sep 10, 2:20 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Wed Sep 10, 2:36 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Wed Sep 10, 2:40 pm)