lkml.org 
[lkml]   [2007]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] clocksouce implementation for powerpc
From
Date
On Wed, 2007-06-20 at 21:20 +0400, Sergei Shtylyov wrote:
> >>+void update_vsyscall(struct timespec *wall_time, struct clocksource *clock)
> >>+{
> >>+ timer_recalc_offset(tb_last_jiffy);
> >>+ timer_check_rtc();
> >>+}
>
> > Hmm .. This doesn't look like it's taking into account that the time has
> > changed ..
>
> Why? By the time it gets called (form the timer softirq context)

It is called from interrupt context at least in mainline. Only the -rt
patch moves this to the softirq.

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-20 19:33    [W:0.200 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site