]> git.baikalelectronics.ru Git - kernel.git/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)
commit76e63758927dc95c6f25052fd8f8fde6e1c70838
treecd698a910a2526882d542984ccd314d109a5194a
parent867499e9fe286893b172a3126803f86783627c9f
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