linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TRIVIAL] compile fix for arch/ppc/kernel/setup.c
@ 2003-08-03 20:41 Gergely Nagy
  2003-08-03 21:47 ` Miles Lane
  0 siblings, 1 reply; 3+ messages in thread
From: Gergely Nagy @ 2003-08-03 20:41 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev

Hi!

I'm posting both to linuxppc-dev and lkml, since the latter is listed in
MAINTAINERS. I've been trying to get my PowerMac 4400 boot with linux
2.6.0-test2(-bk3), but the compile failed quite early in
arch/ppc/kernel/setup.c. After adding an #include <linux/cpu.h>, it
compiled. Patch is included below.

--- arch/ppc/kernel/setup.c.old	2003-08-03 22:35:51.000000000 +0200
+++ arch/ppc/kernel/setup.c	2003-08-03 22:35:41.000000000 +0200
@@ -2,6 +2,7 @@
  * Common prep/pmac/chrp boot and setup code.
  */
 
+#include <linux/config.h>
 #include <linux/cpu.h>
 #include <linux/module.h>
 #include <linux/string.h>


--
Gergely Nagy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-03 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-03 20:41 [TRIVIAL] compile fix for arch/ppc/kernel/setup.c Gergely Nagy
2003-08-03 21:47 ` Miles Lane
2003-08-03 22:00   ` Gergely Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).