From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: [PATCH 04/16] AF_RXRPC: Make it possible to merely try to cancel timers from a module [try #4] Date: Wed, 25 Apr 2007 16:49:17 +0100 Message-ID: <20070425154917.26581.19297.stgit@warthog.cambridge.redhat.com> References: <20070425154854.26581.97692.stgit@warthog.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, dhowells@redhat.com To: torvalds@osdl.org, akpm@osdl.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:47942 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031119AbXDYPtz (ORCPT ); Wed, 25 Apr 2007 11:49:55 -0400 In-Reply-To: <20070425154854.26581.97692.stgit@warthog.cambridge.redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Export try_to_del_timer_sync() for use by the AF_RXRPC module. Signed-Off-By: David Howells --- kernel/timer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/timer.c b/kernel/timer.c index dd6c2c1..b22bd39 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