Skip to content

Commit

Permalink
[AF_RXRPC]: Make it possible to merely try to cancel timers from a mo…
Browse files Browse the repository at this point in the history
…dule

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>
  • Loading branch information
dhowells authored and davem330 committed Apr 26, 2007
1 parent 7318226 commit e19dff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@ int try_to_del_timer_sync(struct timer_list *timer)
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
Expand Down

0 comments on commit e19dff1

Please sign in to comment.