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: Fri, 11 Feb 2005 23:28:51 +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/11 23:28:46

Modified files:
        arch/mips/mm   : tlb-andes.c 

Log message:
        Fix warning.

diff -urN linux/arch/mips/mm/tlb-andes.c linux/arch/mips/mm/tlb-andes.c
--- linux/arch/mips/mm/tlb-andes.c      2005/01/15 01:31:05     1.10
+++ linux/arch/mips/mm/tlb-andes.c      2005/02/11 23:28:46     1.11
@@ -195,6 +195,7 @@
 {
        unsigned long flags;
        pgd_t *pgdp;
+       pud_t *pudp;
        pmd_t *pmdp;
        pte_t *ptep;
        int idx, pid;
@@ -220,7 +221,8 @@
        write_c0_entryhi(address | (pid));
        pgdp = pgd_offset(vma->vm_mm, address);
        tlb_probe();
-       pmdp = pmd_offset(pgdp, address);
+       pudp = pud_offset(pgdp, address);
+       pmdp = pmd_offset(pudp, address);
        idx = read_c0_index();
        ptep = pte_offset_map(pmdp, address);
        write_c0_entrylo0(pte_val(*ptep++) >> 6);

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