linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* time question
@ 2010-01-07  4:35 rainbowczj rainbowczj
  2010-01-10 16:46 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: rainbowczj rainbowczj @ 2010-01-07  4:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hi.

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100107/eb28a350/attachment-0001.htm>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* time question
  2010-01-07  4:35 time question rainbowczj rainbowczj
@ 2010-01-10 16:46 ` Russell King - ARM Linux
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2010-01-10 16:46 UTC (permalink / raw)
  To: linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-10 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  4:35 time question rainbowczj rainbowczj
2010-01-10 16:46 ` Russell King - ARM Linux

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