From: James S. <jsi...@us...> - 2001-11-20 17:53:06
|
Update of /cvsroot/linux-mips/linux/arch/mips64/mm In directory usw-pr-cvs1:/tmp/cvs-serv5155 Modified Files: loadmmu.c Log Message: No need to include <asm/sgialib.h>. Index: loadmmu.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips64/mm/loadmmu.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- loadmmu.c 2001/10/11 23:05:54 1.1 +++ loadmmu.c 2001/11/20 17:53:03 1.2 @@ -17,7 +17,6 @@ #include <asm/pgtable.h> #include <asm/system.h> #include <asm/bootinfo.h> -#include <asm/sgialib.h> /* memory functions */ void (*_clear_page)(void * page); @@ -49,6 +48,7 @@ extern void ld_mmu_r4xx0(void); extern void ld_mmu_andes(void); +extern void ld_mmu_sb1(void); void __init load_mmu(void) { @@ -76,11 +76,16 @@ ld_mmu_r4xx0(); break; #endif - -#if defined (CONFIG_CPU_R10000) +#ifdef CONFIG_CPU_R10000 case CPU_R10000: printk("Loading R10000 MMU routines.\n"); ld_mmu_andes(); + break; +#endif +#if defined CONFIG_CPU_SB1 + case CPU_SB1: + printk("Loading SB1 MMU routines.\n"); + ld_mmu_sb1(); break; #endif |