[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] pci/guestdev: clean up data definitions



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1278675448 -3600
# Node ID 85ca9742b8b9f49d8371c6ce305b0cdeff4f341e
# Parent  c977b4bfc8543a12edcc3faab7bbc9d240d8c87a
pci/guestdev: clean up data definitions

Keep a local variable from polluting the global namespace, and move
another one into .init.data since it's only being used by __init
functions.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/pci/guestdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c977b4bfc854 -r 85ca9742b8b9 drivers/pci/guestdev.c
--- a/drivers/pci/guestdev.c    Fri Jul 09 12:37:02 2010 +0100
+++ b/drivers/pci/guestdev.c    Fri Jul 09 12:37:28 2010 +0100
@@ -83,8 +83,8 @@ struct pcidev_sbdf_node {
 
 static int reassign_resources = 0;
 
-static char guestdev_param[COMMAND_LINE_SIZE];
-LIST_HEAD(guestdev_list);
+static char __initdata guestdev_param[COMMAND_LINE_SIZE];
+static LIST_HEAD(guestdev_list);
 
 /* Get hid and uid */
 static int __init pci_get_hid_uid(char *str, char *hid, char *uid)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.