From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: time question
Date: Sun, 10 Jan 2010 16:46:19 +0000 [thread overview]
Message-ID: <20100110164619.GA11439@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <d22dbf6e1001062035q11b76c0dsdb6e00316cc15ba5@mail.gmail.com>
On Thu, Jan 07, 2010 at 12:35:39PM +0800, rainbowczj rainbowczj wrote:
> I am study the time of the arm , I have a question:
>
> In the \arm\kernel\times.c . there is a function pointer int
> (*set_rtc)(void).it is the hook for setting the RTC's idea of the current
> time. but I can't find which function to this pointer. somebody can tell me
> where I can find it and how to set the RTC. thanks!
It's never set in today's kernels, because it's redundant. RTCs should
instead be implemented using the RTC support code in drivers/rtc, which
will take care of all this for you.
prev parent reply other threads:[~2010-01-10 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 4:35 time question rainbowczj rainbowczj
2010-01-10 16:46 ` Russell King - ARM Linux [this message]
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=20100110164619.GA11439@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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 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).