* time patch.
@ 2001-12-21 16:43 David Updegraff
2001-12-21 16:53 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: David Updegraff @ 2001-12-21 16:43 UTC (permalink / raw)
To: linuxppc-embedded
Greetings.
If Could someone with write acces to the tree could patch
arch/ppc/kernel/time.c
so that for cases where we have no RTC? On our non-nvram,
non-RTC board, running NTP falls into this [un-suprising] kernel panic.
I would be eternally in your debt.
--------
if (ppc_md.set_rtc_time(xtime.tv_sec+1 + time_offset) == 0)
last_rtc_update = xtime.tv_sec+1;
else
/* Try again one minute later */
last_rtc_update += 60;
---------
Idunno, either ifdef it with CONFIG_PPC_RTC or just plop a
if (ppc_md.set_rtc_time)
ontop of it..
--
Dave Updegraff / dave@cray.com / 218-525-1154
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: time patch.
2001-12-21 16:43 time patch David Updegraff
@ 2001-12-21 16:53 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2001-12-21 16:53 UTC (permalink / raw)
To: David Updegraff; +Cc: linuxppc-embedded
On Fri, Dec 21, 2001 at 10:43:28AM -0600, David Updegraff wrote:
> If Could someone with write acces to the tree could patch
> arch/ppc/kernel/time.c
> so that for cases where we have no RTC? On our non-nvram,
> non-RTC board, running NTP falls into this [un-suprising] kernel panic.
Can you post this as a proper patch? (unified is prefered).
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-21 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 16:43 time patch David Updegraff
2001-12-21 16:53 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).