Re: make arch code use xtime_update() instead of do_timer()

From: Thomas Gleixner
Date: Sat Jan 22 2011 - 05:15:01 EST


On Sat, 22 Jan 2011, Torben Hohn wrote:

> move do_timer() into kernel/time/timekeeping.c
> and provide a version which properly takes the xtime_lock()
>
> finally makes do_timer() and xtime_lock into a header file
> private to kernel/time
>
> xtime_lock is still used by kernel/hrtimer.c and kernel/time.c
> i am not sure, whether the small header file is the right
> thing though.

get_jiffies_64() and the jiffies export should move into
kernel/time/jiffies.c

The hrtimer bits should be replaced by a function in timekeeping.c
which collects xtime and wall_to_monotonic.

Thanks,

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