lguest_devices belongs in lguest_bus.c: it's not i386-specific.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 00:56:24 +0000 (10:56 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:49 +0000 (15:49 +1000)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest.c
drivers/lguest/lguest_bus.c

index 3ba337d..c9ca610 100644 (file)
@@ -87,7 +87,6 @@ struct lguest_data lguest_data = {
        .noirq_end = (u32)lguest_noirq_end,
        .blocked_interrupts = { 1 }, /* Block timer interrupts */
 };
-struct lguest_device_desc *lguest_devices;
 static cycle_t clock_base;
 
 /*G:035 Notice the lazy_hcall() above, rather than hcall().  This is our first
index 5732978..2e9a202 100644 (file)
@@ -7,6 +7,8 @@
 #include <asm/io.h>
 #include <asm/paravirt.h>
 
+struct lguest_device_desc *lguest_devices;
+
 static ssize_t type_show(struct device *_dev,
                          struct device_attribute *attr, char *buf)
 {