Explorar o código

[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>
David Howells %!s(int64=18) %!d(string=hai) anos
pai
achega
e19dff1fdd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      kernel/timer.c

+ 2 - 0
kernel/timer.c

@@ -505,6 +505,8 @@ out:
 	return ret;
 	return ret;
 }
 }
 
 
+EXPORT_SYMBOL(try_to_del_timer_sync);
+
 /**
 /**
  * del_timer_sync - deactivate a timer and wait for the handler to finish.
  * del_timer_sync - deactivate a timer and wait for the handler to finish.
  * @timer: the timer to be deactivated
  * @timer: the timer to be deactivated