summaryrefslogtreecommitdiff
path: root/arch/x86/lguest/boot.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-25 14:15:09 +1000
committerRusty Russell <rusty@rustcorp.com.au>2007-10-25 14:15:09 +1000
commit4cfe6c3c1c301d3d7a36c9d579597b75ebb8ea13 (patch)
tree2d76112b66c5f45859ebc103e295b907c7030dc6 /arch/x86/lguest/boot.c
parent7334492b53706964eb055ed8e25e2e3315d7222a (diff)
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/x86/lguest/boot.c')
-rw-r--r--arch/x86/lguest/boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 136d9df0295e..a0179fc6b791 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>