]> err.no Git - linux-2.6/commitdiff
lguest: build fix
authorJeff Garzik <jeff@garzik.org>
Thu, 25 Oct 2007 04:15:09 +0000 (14:15 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 25 Oct 2007 04:15:09 +0000 (14:15 +1000)
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>
arch/x86/lguest/boot.c

index 136d9df0295ec5a297388ba22abe0ea5f538d205..a0179fc6b791f6afdce287d548054f2295dbffd8 100644 (file)
@@ -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>