diff -urN newtree/kernel/timer.c newtree.2/kernel/timer.c --- newtree/kernel/timer.c 2006-08-02 07:14:23.000000000 -0700 +++ newtree.2/kernel/timer.c 2006-08-04 10:18:49.000000000 -0700 @@ -790,6 +790,13 @@ #include static struct clocksource *clock; /* pointer to current clocksource */ +void printk_clock_info(void) +{ + printk("clock %s: m:%u,s:%u,cl:%Lu,ci:%Lu,xn:%Lu,xi:%Lu,e:%Ld\n", + clock->name, clock->mult, clock->shift, clock->cycle_last, clock->cycle_interval, + clock->xtime_nsec, clock->xtime_interval, clock->error); +} + #ifdef CONFIG_GENERIC_TIME /** * __get_nsec_offset - Returns nanoseconds since last call to periodic_hook