Thread (2 messages) 2 messages, 2 authors, 2005-01-21

Re: Classic PPC specific ASM (CONFIG_6XX)

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2005-01-21 12:36:20

Possibly related (same subject, not in this thread)

On Fri, 21 Jan 2005, Jerome Glisse wrote:
quoted hunk ↗ jump to hunk
On Thu, 20 Jan 2005 16:14:42 -0700, Tom Rini [off-list ref] wrote:
quoted
On Wed, Jan 12, 2005 at 08:10:58PM +0100, Jerome Glisse wrote:
quoted
Wanted to know what is going on with CONFIG_6xx?  You will use
my patch or do you have another better way ? :)
Can you resend it please?
Here is another version (the previous one used ifdef to comment
out function call but i read somewhere that this doesn't follow
codeguideline). Anyway i think that my patch is a ugly hack.

Signed-off-by: Jerome Glisse <redacted>

best,
Jerome Glisse



diff -Naur linux/arch/ppc/boot/simple/misc-prep.c
linux-2.6.10/arch/ppc/boot/simple/misc-prep.c
--- linux/arch/ppc/boot/simple/misc-prep.c	2004-12-24 22:33:51.000000000 +0100
+++ linux-2.6.10/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
+void disable_6xx_mmu(void) {}
   ^^^^^^^^^^^^^^^^^^^^
You better make this one static inline.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help