summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-26 15:46:56 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-26 15:46:56 -0700
commite19dff1fdd99a25819af74cf0710e147fff4fd3a (patch)
treeed64cec5118d671ba20c1abc2d30a8da290282f6 /kernel
parent7318226ea2931a627f3572e5f4804c91ca19ecbc (diff)
downloadlwn-e19dff1fdd99a25819af74cf0710e147fff4fd3a.tar.gz
lwn-e19dff1fdd99a25819af74cf0710e147fff4fd3a.zip
[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.c2
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:
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