maltalinux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: malta

To: maltalinux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: malta
From: beth@linux-mips.org
Date: Fri, 02 Sep 2005 11:49:48 +0100
Reply-to: linux-mips@linux-mips.org
Sender: maltalinux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    malta
Changes by:     beth@ftp.linux-mips.org 05/09/02 11:49:46

Modified files:
        linux/arch/mips/mm: Tag: MaltaRef_2_6 cache.c 
        linux/include/asm-mips/mach-sibyte: Tag: MaltaRef_2_6 
                                            cpu-feature-overrides.h 

Log message:
        * arch/mips/mm/cache.c: Fix SB1 cache.
        
        * include/asm-mips/mach-sibyte/cpu-feature-overrides.h: Set 
cpu_has_mipsmt
        to zero for completeness.

diff -urN malta/linux/arch/mips/mm/cache.c malta/linux/arch/mips/mm/cache.c
--- malta/linux/arch/mips/mm/cache.c    2005/06/21 13:24:14     1.13.1000.2
+++ malta/linux/arch/mips/mm/cache.c    2005/09/02 10:49:46     1.13.1000.3
@@ -123,6 +123,9 @@
     defined(CONFIG_CPU_RM7000) || defined(CONFIG_CPU_RM9000)
                ld_mmu_r4xx0();
 #endif
+#ifdef CONFIG_CPU_SB1
+               ld_mmu_sb1();
+#endif
        } else switch (current_cpu_data.cputype) {
 #ifdef CONFIG_CPU_R3000
        case CPU_R2000:
@@ -145,11 +148,6 @@
                ld_mmu_r4xx0();
                break;
 #endif
-#ifdef CONFIG_CPU_SB1
-       case CPU_SB1:
-               ld_mmu_sb1();
-               break;
-#endif
 
        case CPU_R8000:
                panic("R8000 is unsupported");
diff -urN malta/linux/include/asm-mips/mach-sibyte/cpu-feature-overrides.h 
malta/linux/include/asm-mips/mach-sibyte/cpu-feature-overrides.h
--- malta/linux/include/asm-mips/mach-sibyte/cpu-feature-overrides.h    
2005/06/21 13:36:41     1.3.1000.1
+++ malta/linux/include/asm-mips/mach-sibyte/cpu-feature-overrides.h    
2005/09/02 10:49:46     1.3.1000.2
@@ -27,6 +27,7 @@
 #define cpu_has_ic_fills_f_dc  0
 #define cpu_has_dsp            0
 #define cpu_icache_snoops_remote_store 0
+#define cpu_has_mipsmt         0
 
 #define cpu_has_nofpuex                0
 #define cpu_has_64bits         1

<Prev in Thread] Current Thread [Next in Thread>