linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux 2.6.12-rc1-bk5 compilation error
@ 2005-04-04 10:32 Jerome Glisse
  2005-04-04 10:51 ` Jerome Glisse
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Jerome Glisse @ 2005-04-04 10:32 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

Once again i face an error that i got with a previous
2.6 kernel (i already posted about this in january
i think).

My config G5 bi 2Ghz and you can grab my kernel
config here : http://dj.planet-d.net/config

When compiling  2.6.12-rc1-bk5 i first get unknown
symbol _flush_disable_L1. This is in arch/ppc/kernel/l2cr.S
I changed the makefile in arch/ppc/kernel to have this :
obj-$(CONFIG_POWER4) += cpu_setup_power4.o
into :
obj-$(CONFIG_POWER4) += l2cr.o cpu_setup_power4.o

I am not sure this is good but with this i can go on.

And finaly i face back the same unknown function
than in my previous mail :
disable_6xx_mmu
used in :
arch/ppc/boot/simple/misc-prep.c

At that time i done some test defining CONFIG_6xx
which give others erros or undefining PPC_PREP
which give some others errors.

I finaly used a stupid patch to make it works (below)
Signed-off-by: Jerome Glisse <j.glisse@gmail.com>

But it seems that at some stage it gots forgotten.
Anyway what puzzle me is that it seems i am the
only one to face this ? Am i alone :) ?

diff -Naur a/arch/ppc/boot/simple/misc-prep.c
b/arch/ppc/boot/simple/misc-prep.c
--- a/arch/ppc/boot/simple/misc-prep.c      2004-12-24 22:33:51.000000000 +0100
+++ b/arch/ppc/boot/simple/misc-prep.c       2005-01-21
12:09:50.976426672 +0100
@@ -34,7 +34,11 @@
extern void serial_fixups(void);
extern struct bi_record *decompress_kernel(unsigned long load_addr,
               int num_words, unsigned long cksum);
+#ifdef CONFIG_6XX
extern void disable_6xx_mmu(void);
+#elif
+static inline void disable_6xx_mmu(void) {}
+#endif
extern unsigned long mpc10x_get_mem_size(void);

static void

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

end of thread, other threads:[~2005-04-08 23:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04 10:32 linux 2.6.12-rc1-bk5 compilation error Jerome Glisse
2005-04-04 10:51 ` Jerome Glisse
2005-04-04 11:52   ` Jerome Glisse
2005-04-04 12:41 ` Benjamin Herrenschmidt
2005-04-04 19:11   ` Jerome Glisse
2005-04-04 23:12     ` Benjamin Herrenschmidt
2005-04-05 11:52       ` Jerome Glisse
2005-04-05 12:39         ` Andreas Schwab
2005-04-05 15:17           ` Jerome Glisse
2005-04-05 23:12           ` Benjamin Herrenschmidt
2005-04-05 23:25             ` Andreas Schwab
2005-04-05 23:11         ` Benjamin Herrenschmidt
2005-04-07 17:10 ` Tom Rini
2005-04-08 10:13   ` Jerome Glisse
2005-04-08 15:34     ` [PATCH 2.6.12-rc2] ppc32: Fix building 32bit kernel for 64bit machines (Was: Re: linux 2.6.12-rc1-bk5 compilation error) Tom Rini
2005-04-08 22:27       ` Jerome Glisse
2005-04-08 23:47       ` Benjamin Herrenschmidt

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