lguest: disable ACPI explicitly.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:10 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:34 +0000 (16:47 +1030)
Once we add PCI, it starts trying to manage our interrupts.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c

index 47ec7f201d27af85743f684da6d78d25f7d12018..aa6e3b4ce29c885e7a4ef7a7e7b6f513fd94bdf0 100644 (file)
@@ -56,6 +56,7 @@
 #include <linux/virtio_console.h>
 #include <linux/pm.h>
 #include <linux/export.h>
+#include <asm/acpi.h>
 #include <asm/apic.h>
 #include <asm/lguest.h>
 #include <asm/paravirt.h>
@@ -1428,6 +1429,9 @@ __init void lguest_init(void)
        /* Register our very early console. */
        virtio_cons_early_init(early_put_chars);
 
+       /* Don't let ACPI try to control our PCI interrupts. */
+       disable_acpi();
+
        /*
         * Last of all, we set the power management poweroff hook to point to
         * the Guest routine to power off, and the reboot hook to our restart