Skip to contentSkip to conversation

lguest: build fix

PATCH New Jeff Garzik 1 participant 1 message Oct 24, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Gee, lguest appears to be unmaintained, according to MAINTAINERS :)

arch/x86/lguest/boot.c +1 -0
index d2235db..8f13562 100644
@@ -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>