diff options
author | David Howells <dhowells@redhat.com> | 2007-04-26 18:46:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 18:46:56 -0400 |
commit | e19dff1fdd99a25819af74cf0710e147fff4fd3a (patch) | |
tree | ed64cec5118d671ba20c1abc2d30a8da290282f6 /kernel | |
parent | 7318226ea2931a627f3572e5f4804c91ca19ecbc (diff) |
[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 <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: | |||
505 | return ret; | 505 | return ret; |
506 | } | 506 | } |
507 | 507 | ||
508 | EXPORT_SYMBOL(try_to_del_timer_sync); | ||
509 | |||
508 | /** | 510 | /** |
509 | * del_timer_sync - deactivate a timer and wait for the handler to finish. | 511 | * del_timer_sync - deactivate a timer and wait for the handler to finish. |
510 | * @timer: the timer to be deactivated | 512 | * @timer: the timer to be deactivated |