[PATCH 2.6.24-rc1] lguest: build fix

From: Jeff Garzik
Date: Wed Oct 24 2007 - 03:28:43 EST



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@xxxxxxxxxx>
---
Gee, lguest appears to be unmaintained, according to MAINTAINERS :)

diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index d2235db..8f13562 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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/