All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Updegraff <dave@cray.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: time patch.
Date: Fri, 21 Dec 2001 10:43:28 -0600	[thread overview]
Message-ID: <3C2366B0.70508@cray.com> (raw)


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/

             reply	other threads:[~2001-12-21 16:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-21 16:43 David Updegraff [this message]
2001-12-21 16:53 ` time patch Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C2366B0.70508@cray.com \
    --to=dave@cray.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.