]> err.no Git - linux-2.6/commit
hrtimer: remove duplicate helper function
authorOliver Hartkopp <oliver@hartkopp.net>
Wed, 30 Apr 2008 21:04:37 +0000 (23:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 3 May 2008 16:11:48 +0000 (18:11 +0200)
commit4346f65426cbceb64794b468e4af6f5632d58c5e
treecd698a910a2526882d542984ccd314d109a5194a
parentb66e1f11ebc429569a3784aaf64123633d9e3ed1
hrtimer: remove duplicate helper function

The helper function hrtimer_callback_running() is used in
kernel/hrtimer.c as well as in the updated net/can/bcm.c which now
supports hrtimers. Moving the helper function to hrtimer.h removes the
duplicate definition in the C-files.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
kernel/hrtimer.c
net/can/bcm.c