From: Adrian Bunk Subject: [2.6 patch] drivers/xen/balloon.c: make a function static Date: Mon, 28 Apr 2008 18:39:41 +0300 Message-ID: <20080428153941.GR2813@cs181133002.pp.htv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , chrisw@sous-sol.org Cc: Andrew Morton , xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org List-Id: xen-devel@lists.xenproject.org This patch makes the needlessly global balloon_set_new_target() static. Signed-off-by: Adrian Bunk --- 58bea00a0c55ed7e3252bc5f13e8c755f4bc9fe4 diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index ab25ba6..d109639 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ -368,7 +368,7 @@ static void balloon_process(struct work_struct *work) } /* Resets the Xen limit, sets new target, and kicks off processing. */ -void balloon_set_new_target(unsigned long target) +static void balloon_set_new_target(unsigned long target) { /* No need for lock. Not read-modify-write updates. */ balloon_stats.hard_limit = ~0UL;