* 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
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).