Skip to contentSkip to conversation

A few warning fixes for 4xx

PATCH David Gibson 1 participant 1 message Sep 11, 2001

lore
Share & tools
lore
#0 lore raw

As the subject suggests:

arch/ppc/kernel/ppc4xx_setup.c renamed from linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c +1 -1
diff -urN ../linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c linux-bungo/arch/ppc/kernel/ppc4xx_setup.c
@@ -86,7 +86,7 @@
 #endif
 
 #define BOOT_WDT_DEFAULT_PERIOD		120	/* 2 minutes */
-extern board_setup_arch(void);
+extern void board_setup_arch(void);
 
 void __init
 ppc4xx_setup_arch(void)
arch/ppc/mm/mmu_decl.h renamed from linuxppc_2_4_devel/arch/ppc/mm/mmu_decl.h +1 -0
diff -urN ../linuxppc_2_4_devel/arch/ppc/mm/mmu_decl.h linux-bungo/arch/ppc/mm/mmu_decl.h
@@ -53,6 +53,7 @@
 
 #elif defined(CONFIG_4xx)
 #define flush_HPTE(X, va, pg)	__tlbia()
+extern void MMU_init_hw(void);
 
 #else
 /* anything except 4xx or 8xx */

--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/