]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: lguest build fix
authorJeff Garzik <jgarzik@redhat.com>
Wed, 24 Oct 2007 10:58:02 +0000 (12:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 24 Oct 2007 10:58:02 +0000 (12:58 +0200)
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>
arch/x86/lguest/boot.c

index d2235db4085f4b4c58ada4bc984933ce415121a2..8f1356258aa443d9cfb03bbc24ed8ce0ddf1bdea 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>