Classic PPC specific ASM (CONFIG_6XX)
Jerome Glisse
j.glisse at gmail.com
Fri Jan 21 22:22:10 EST 2005
On Thu, 20 Jan 2005 16:14:42 -0700, Tom Rini <trini at kernel.crashing.org> wrote:
> On Wed, Jan 12, 2005 at 08:10:58PM +0100, Jerome Glisse wrote:
>
> > 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 <j.glisse at gmail.com>
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) {}
+#endif
extern unsigned long mpc10x_get_mem_size(void);
static void
More information about the Linuxppc64-dev
mailing list