]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Export ktime_get_ts()
authorMatt Helsley <matthltc@us.ibm.com>
Tue, 10 Jan 2006 04:52:39 +0000 (20:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:39 +0000 (08:01 -0800)
commit69778e325c3007c8c8a653fcee2c298ffe071fd4
tree8ed3d8f9ac20449ea01a161539ceddb72deb4d78
parentbecf8b5d00f4b47e847f98322cdaf8cd16243861
[PATCH] Export ktime_get_ts()

This series removes the getnstimestamp() function from kernel/time.c in favor
of kernel/hrtimer.c's ktime_get_ts() function which currently does exactly the
same thing: retrieves a high-resolution (ns) timespec structure and performs
the wall_to_monotonic adjustment.

This patch:

Export ktime_get_ts() to be used as a timestamp function since it uses
getnstimefoday() and does the wall_to_monotonic adjustment.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/hrtimer.c