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

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Sun, 06 Feb 2005 21:55:48 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/02/06 21:55:42

Modified files:
        arch/mips/mm   : Tag: linux_2_4 c-r4k.c 
        arch/mips64/mm : Tag: linux_2_4 c-r4k.c 

Log message:
        Move missplaced code line to the right place.

diff -urN linux/arch/mips/mm/c-r4k.c linux/arch/mips/mm/c-r4k.c
--- linux/arch/mips/mm/c-r4k.c  2005/02/04 15:51:06     1.3.2.74
+++ linux/arch/mips/mm/c-r4k.c  2005/02/06 21:55:42     1.3.2.75
@@ -868,15 +868,14 @@
         * with that for us so we don't need to take care ourselves.
         */
        switch (c->cputype) {
-               if (c->dcache.waysize > PAGE_SIZE)
-                       
        case CPU_R10000:
        case CPU_R12000:
                break;
        case CPU_24K:
                if (!(read_c0_config7() & (1 << 16)))
        default:
-                       c->dcache.flags |= MIPS_CACHE_ALIASES;
+                       if (c->dcache.waysize > PAGE_SIZE)
+                               c->dcache.flags |= MIPS_CACHE_ALIASES;
        }
 
        switch (c->cputype) {
diff -urN linux/arch/mips64/mm/c-r4k.c linux/arch/mips64/mm/c-r4k.c
--- linux/arch/mips64/mm/Attic/c-r4k.c  2005/02/04 15:51:06     1.1.2.65
+++ linux/arch/mips64/mm/Attic/c-r4k.c  2005/02/06 21:55:42     1.1.2.66
@@ -868,15 +868,14 @@
         * with that for us so we don't need to take care ourselves.
         */
        switch (c->cputype) {
-               if (c->dcache.waysize > PAGE_SIZE)
-                       
        case CPU_R10000:
        case CPU_R12000:
                break;
        case CPU_24K:
                if (!(read_c0_config7() & (1 << 16)))
        default:
-                       c->dcache.flags |= MIPS_CACHE_ALIASES;
+                       if (c->dcache.waysize > PAGE_SIZE)
+                               c->dcache.flags |= MIPS_CACHE_ALIASES;
        }
 
        switch (c->cputype) {

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