lkml.org 
[lkml]   [2003]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[TRIVIAL] compile fix for arch/ppc/kernel/setup.c
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.025 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site