From: David Howells Date: Thu, 26 Apr 2007 22:46:56 +0000 (-0700) Subject: [AF_RXRPC]: Make it possible to merely try to cancel timers from a module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e19dff1fdd99a25819af74cf0710e147fff4fd3a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [AF_RXRPC]: Make it possible to merely try to cancel timers from a module Export try_to_del_timer_sync() for use by the AF_RXRPC module. Signed-off-by: David Howells Signed-off-by: David S. Miller --- diff --git a/kernel/timer.c b/kernel/timer.c index dd6c2c1c561b..b22bd39740dd 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -505,6 +505,8 @@ out: return ret; } +EXPORT_SYMBOL(try_to_del_timer_sync); + /** * del_timer_sync - deactivate a timer and wait for the handler to finish. * @timer: the timer to be deactivated