On Fri, Sep 21, 2007 at 02:52:12PM +1000, Stephen Rothwell wrote:
> Small comments.
Thanks.
> I think this is redundant as if __USE_RTC() is true, you register
> clocksource_rtc below.
Yup you're right.
> The #ifdef is redundant since if CONFIG_ISERIES is not set,
> firmware_has_feature(FW_FEAT
On Fri, Sep 21, 2007 at 02:59:31PM +1000, Paul Mackerras wrote:
> Daniel Walker writes:
>
> > I don't think the RTC frequency isn't the same as the timebase? Seems
> > like the RTC only case about seconds at the lowest level. If that's the
> > case then the jiffies clock might be better to use ..
Daniel Walker writes:
> I don't think the RTC frequency isn't the same as the timebase? Seems
> like the RTC only case about seconds at the lowest level. If that's the
> case then the jiffies clock might be better to use .. The other thing I
> wonder is if the __USE_RTC boards might have lower lev
Small comments.
On Fri, 21 Sep 2007 13:26:02 +1000 Tony Breeds <[EMAIL PROTECTED]> wrote:
>
> +void update_vsyscall(struct timespec *wall_time, struct clocksource *clock)
> +{
> + u64 t2x, stamp_xsec;
> +
> + if (__USE_RTC() || clock != &clocksource_timebase)
^^^
I thin
On Fri, 2007-09-21 at 13:26 +1000, Tony Breeds wrote:
> +
> + if (__USE_RTC())
> + clock = &clocksource_rtc;
> + else
> + clock = &clocksource_timebase;
> +
> + clock->mult = clocksource_hz2mult(tb_ticks_per_sec,
> clock->shift);
I don't think the RTC
Signed-off-by: Tony Breeds <[EMAIL PROTECTED]>
---
Updated to create a clocksource driver specific to the 601
arch/powerpc/Kconfig |6
arch/powerpc/kernel/time.c | 255 -
2 files changed, 91 insertions(+), 170 deletions(-)
Index: working/arch/pow