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: ths@linux-mips.org
Date: Wed, 12 Jan 2005 16:38:56 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ths@ftp.linux-mips.org  05/01/12 16:38:50

Modified files:
        arch/mips/mm   : tlbex.c 

Log message:
        Use cpu_has_64bits instead of cpu_has_64bit_gp_regs.

diff -urN linux/arch/mips/mm/tlbex.c linux/arch/mips/mm/tlbex.c
--- linux/arch/mips/mm/tlbex.c  2005/01/10 16:23:15     1.15
+++ linux/arch/mips/mm/tlbex.c  2005/01/12 16:38:50     1.16
@@ -1099,7 +1099,7 @@
         * Kernel is a special case. Only a few CPUs use it.
         */
 #ifdef CONFIG_64BIT_PHYS_ADDR
-       if (cpu_has_64bit_gp_regs) {
+       if (cpu_has_64bits) {
                i_ld(p, tmp, 0, ptep); /* get even pte */
                i_ld(p, ptep, sizeof(pte_t), ptep); /* get odd pte */
                i_dsrl(p, tmp, tmp, 6); /* convert to entrylo0 */
@@ -1282,14 +1282,14 @@
 {
 #ifdef CONFIG_SMP
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (cpu_has_64bit_gp_regs)
+       if (cpu_has_64bits)
                i_lld(p, pte, offset, ptr);
        else
 # endif
                i_LL(p, pte, offset, ptr);
 #else
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (cpu_has_64bit_gp_regs)
+       if (cpu_has_64bits)
                i_ld(p, pte, offset, ptr);
        else
 # endif
@@ -1303,7 +1303,7 @@
 {
 #ifdef CONFIG_SMP
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (cpu_has_64bit_gp_regs)
+       if (cpu_has_64bits)
                i_scd(p, pte, offset, ptr);
        else
 # endif
@@ -1315,7 +1315,7 @@
                il_beqz(p, r, pte, label_smp_pgtable_change);
 
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (!cpu_has_64bit_gp_regs) {
+       if (!cpu_has_64bits) {
                /* no i_nop needed */
                i_ll(p, pte, sizeof(pte_t) / 2, ptr);
                i_ori(p, pte, pte, _PAGE_VALID);
@@ -1330,14 +1330,14 @@
 # endif
 #else
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (cpu_has_64bit_gp_regs)
+       if (cpu_has_64bits)
                i_sd(p, pte, offset, ptr);
        else
 # endif
                i_SW(p, pte, offset, ptr);
 
 # ifdef CONFIG_64BIT_PHYS_ADDR
-       if (!cpu_has_64bit_gp_regs) {
+       if (!cpu_has_64bits) {
                i_lw(p, pte, sizeof(pte_t) / 2, ptr);
                i_ori(p, pte, pte, _PAGE_VALID);
                i_sw(p, pte, sizeof(pte_t) / 2, ptr);

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