WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [2.6 patch] drivers/xen/balloon.c: make a function static

To: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>, chrisw@xxxxxxxxxxxx
Subject: [Xen-devel] [2.6 patch] drivers/xen/balloon.c: make a function static
From: Adrian Bunk <bunk@xxxxxxxxxx>
Date: Mon, 28 Apr 2008 18:39:41 +0300
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Apr 2008 08:40:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
This patch makes the needlessly global balloon_set_new_target() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
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;


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>