summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-02-11 05:45:10 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-02-11 07:17:34 +0100
commitee72576c143d8e9081ae1fe8644122454dd323c5 (patch)
tree23410406cc9fa1c16f2963b895dee180b02caed5
parentlguest: add iomem region, where guest page faults get sent to userspace. (diff)
downloadlinux-ee72576c143d8e9081ae1fe8644122454dd323c5.tar.xz
linux-ee72576c143d8e9081ae1fe8644122454dd323c5.zip
lguest: disable ACPI explicitly.
Once we add PCI, it starts trying to manage our interrupts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--arch/x86/lguest/boot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 47ec7f201d27..aa6e3b4ce29c 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -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