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] [PATCH] linux: make xb_waitq static

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux: make xb_waitq static
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 07 Dec 2006 16:28:41 +0000
Delivery-date: Thu, 07 Dec 2006 08:27:45 -0800
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
It not being so called for grepping a much larger source set to spot eventual 
uses...

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: sle10-sp1-2006-12-05/drivers/xen/xenbus/xenbus_comms.c
===================================================================
--- sle10-sp1-2006-12-05.orig/drivers/xen/xenbus/xenbus_comms.c 2006-12-05 
12:54:41.000000000 +0100
+++ sle10-sp1-2006-12-05/drivers/xen/xenbus/xenbus_comms.c      2006-12-07 
16:38:13.000000000 +0100
@@ -52,7 +52,7 @@ extern void xenbus_probe(void *);
 extern int xenstored_ready;
 static DECLARE_WORK(probe_work, xenbus_probe, NULL);
 
-DECLARE_WAIT_QUEUE_HEAD(xb_waitq);
+static DECLARE_WAIT_QUEUE_HEAD(xb_waitq);
 
 static irqreturn_t wake_waiting(int irq, void *unused, struct pt_regs *regs)
 {
Index: sle10-sp1-2006-12-05/drivers/xen/xenbus/xenbus_comms.h
===================================================================
--- sle10-sp1-2006-12-05.orig/drivers/xen/xenbus/xenbus_comms.h 2006-12-05 
12:54:41.000000000 +0100
+++ sle10-sp1-2006-12-05/drivers/xen/xenbus/xenbus_comms.h      2006-12-07 
12:19:05.000000000 +0100
@@ -38,7 +38,6 @@ int xb_init_comms(void);
 int xb_write(const void *data, unsigned len);
 int xb_read(void *data, unsigned len);
 int xs_input_avail(void);
-extern wait_queue_head_t xb_waitq;
 extern struct xenstore_domain_interface *xen_store_interface;
 extern int xen_store_evtchn;
 


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux: make xb_waitq static, Jan Beulich <=