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);
|