hrtimer: move timer stats helper functions to hrtimer.c
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 10 Dec 2009 09:56:29 +0000 (10:56 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2009 12:08:11 +0000 (13:08 +0100)
commit5f201907dfe4ad42c44006ddfcec00ed12e59497
treeb796471d44eb588f8d95affaeb0aa6cf6478b460
parent41d2e494937715d3150e5c75d01f0e75ae899337
hrtimer: move timer stats helper functions to hrtimer.c

There is no reason to make timer_stats_hrtimer_set_start_info and
friends visible to the rest of the kernel. So move all of them to
hrtimer.c.  Also make timer_stats_hrtimer_set_start_info a static
inline function so it gets inlined and we avoid another function call.
Based on a patch by Thomas Gleixner.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
LKML-Reference: <20091210095629.GC4144@osiris.boeblingen.de.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
kernel/hrtimer.c