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: Mon, 21 Feb 2005 10:58:57 +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/02/21 10:58:51

Modified files:
        arch/mips/mm   : pgtable-32.c 

Log message:
        Fix compiler warning.

diff -urN linux/arch/mips/mm/pgtable-32.c linux/arch/mips/mm/pgtable-32.c
--- linux/arch/mips/mm/pgtable-32.c     2005/02/07 16:13:07     1.7
+++ linux/arch/mips/mm/pgtable-32.c     2005/02/21 10:58:51     1.8
@@ -35,6 +35,7 @@
 #ifdef CONFIG_HIGHMEM
        unsigned long vaddr;
        pgd_t *pgd, *pgd_base;
+       pud_t *pud;
        pmd_t *pmd;
        pte_t *pte;
 #endif
@@ -60,7 +61,8 @@
        fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base);
 
        pgd = swapper_pg_dir + __pgd_offset(vaddr);
-       pmd = pmd_offset(pgd, vaddr);
+       pud = pud_offset(pgd, vaddr);
+       pmd = pmd_offset(pud, vaddr);
        pte = pte_offset_kernel(pmd, vaddr);
        pkmap_page_table = pte;
 #endif

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