mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.24-rc1] lguest: build fix
@ 2007-10-24  7:28 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2007-10-24  7:28 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: LKML, Rusty Russell


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>
---
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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-24  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24  7:28 [PATCH 2.6.24-rc1] lguest: build fix Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®