diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-25 14:15:09 +1000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-25 14:15:09 +1000 |
commit | 4cfe6c3c1c301d3d7a36c9d579597b75ebb8ea13 (patch) | |
tree | 2d76112b66c5f45859ebc103e295b907c7030dc6 /arch | |
parent | 7334492b53706964eb055ed8e25e2e3315d7222a (diff) | |
download | linux-3.10-4cfe6c3c1c301d3d7a36c9d579597b75ebb8ea13.tar.gz linux-3.10-4cfe6c3c1c301d3d7a36c9d579597b75ebb8ea13.tar.bz2 linux-3.10-4cfe6c3c1c301d3d7a36c9d579597b75ebb8ea13.zip |
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: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch')
-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 136d9df0295..a0179fc6b79 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> |