mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
lguest: disable ACPI explicitly.
Once we add PCI, it starts trying to manage our interrupts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
7313d5217e
commit
ee72576c14
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue