Kaynağa Gözat

lguest_devices belongs in lguest_bus.c: it's not i386-specific.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 17 yıl önce
ebeveyn
işleme
ebac52524d
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 0 1
      drivers/lguest/lguest.c
  2. 2 0
      drivers/lguest/lguest_bus.c

+ 0 - 1
drivers/lguest/lguest.c

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

+ 2 - 0
drivers/lguest/lguest_bus.c

@@ -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)
 {