summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-27 00:46:56 +0200
committerDavid S. Miller <davem@davemloft.net>2007-04-27 00:46:56 +0200
commite19dff1fdd99a25819af74cf0710e147fff4fd3a (patch)
treeed64cec5118d671ba20c1abc2d30a8da290282f6
parent[AF_RXRPC]: Key facility changes for AF_RXRPC (diff)
downloadlinux-e19dff1fdd99a25819af74cf0710e147fff4fd3a.tar.xz
linux-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>
-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