diff options
author | Jeff Garzik <jgarzik@redhat.com> | 2007-10-24 12:58:02 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-24 12:58:02 +0200 |
commit | 230e55adf6f74309683a068dec23e664a64fb08a (patch) | |
tree | d83aa711cc83287b7f8c787b35da9a506d673ee5 /arch/x86 | |
parent | x86: fix CONFIG_KEXEC build breakage (diff) | |
download | linux-230e55adf6f74309683a068dec23e664a64fb08a.tar.xz linux-230e55adf6f74309683a068dec23e664a64fb08a.zip |
x86: lguest build fix
Fix this error (i386 !SMP build):
arch/x86/lguest/boot.c: In function lguest_init:
arch/x86/lguest/boot.c:1059: error: pm_power_off undeclared (first use in this function)
by including linux/pm.h.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/lguest/boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index d2235db4085f..8f1356258aa4 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c @@ -56,6 +56,7 @@ #include <linux/lguest.h> #include <linux/lguest_launcher.h> #include <linux/virtio_console.h> +#include <linux/pm.h> #include <asm/paravirt.h> #include <asm/param.h> #include <asm/page.h> |