]> xenbits.xensource.com Git - people/sstabellini/linux-pvhvm-deprecated.git/commitdiff
xen/arm: set xen_platform_pci_unplug to XEN_UNPLUG_ALL
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 3 Jul 2012 17:13:59 +0000 (17:13 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 3 Jul 2012 17:13:59 +0000 (17:13 +0000)
Set xen_platform_pci_unplug to XEN_UNPLUG_ALL by default to make
blkfront happy. The parameter doesn't make sense on ARM and should be
removed.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/xen/enlighten.c

index 6901e374d45010e41b7e3cc7d4354c7c7b844c4b..a6dc9eb9c8dd1a2cac1a01e9b5fbac97eaecc1b4 100644 (file)
@@ -8,6 +8,7 @@
 #include <xen/grant_table.h>
 #include <xen/hvm.h>
 #include <xen/xenbus.h>
+#include <xen/platform_pci.h>
 
 #include <linux/module.h>
 
@@ -33,7 +34,7 @@ __read_mostly int xen_have_vector_callback;
 EXPORT_SYMBOL_GPL(xen_have_vector_callback);
 
 /* XXX: to be removed */
-int xen_platform_pci_unplug;
+int xen_platform_pci_unplug = XEN_UNPLUG_ALL;
 EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
 
 #define FOREIGN_MAP_BUFFER 0x90000000UL