]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
x86/EFI: fix reboot after c643fb110a
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 23 Mar 2015 17:01:51 +0000 (18:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Mar 2015 17:01:51 +0000 (18:01 +0100)
acpi_disabled needs to be moved out of .init.data.

Reported-by: Ross Lagerwall <ross.lagerwall@citrix.com>
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Ross Lagerwall <ross.lagerwall@citrix.com>
xen/arch/x86/setup.c

index 384df03c4a23275b6c51c88085dd8a4731e590eb..c7885ffc774106252e7c3c4cb14d35c938c87f5e 100644 (file)
@@ -106,7 +106,7 @@ struct cpuinfo_x86 __read_mostly boot_cpu_data = { 0, 0, 0, 0, -1 };
 
 unsigned long __read_mostly mmu_cr4_features = XEN_MINIMAL_CR4;
 
-bool_t __initdata acpi_disabled;
+bool_t __read_mostly acpi_disabled;
 bool_t __initdata acpi_force;
 static char __initdata acpi_param[10] = "";
 static void __init parse_acpi_param(char *s)