diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-10 07:19:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:31 -0400 |
commit | c6e8b587718c486b55c2ebecc6de231a30beba35 (patch) | |
tree | 7c6162d449c69fb6425bd27ba341e2d874fb0a1b /arch/mips/mm/c-r4k.c | |
parent | 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6 (diff) |
Update MIPS to use the 4-level pagetable code thereby getting rid of
the compacrapability headers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 8ffb9f809ed9..b165b73e2583 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -372,12 +372,14 @@ static inline void local_r4k_flush_cache_page(void *args) | |||
372 | int exec = vma->vm_flags & VM_EXEC; | 372 | int exec = vma->vm_flags & VM_EXEC; |
373 | struct mm_struct *mm = vma->vm_mm; | 373 | struct mm_struct *mm = vma->vm_mm; |
374 | pgd_t *pgdp; | 374 | pgd_t *pgdp; |
375 | pud_t *pudp; | ||
375 | pmd_t *pmdp; | 376 | pmd_t *pmdp; |
376 | pte_t *ptep; | 377 | pte_t *ptep; |
377 | 378 | ||
378 | page &= PAGE_MASK; | 379 | page &= PAGE_MASK; |
379 | pgdp = pgd_offset(mm, page); | 380 | pgdp = pgd_offset(mm, page); |
380 | pmdp = pmd_offset(pgdp, page); | 381 | pudp = pud_offset(pgdp, page); |
382 | pmdp = pmd_offset(pudp, page); | ||
381 | ptep = pte_offset(pmdp, page); | 383 | ptep = pte_offset(pmdp, page); |
382 | 384 | ||
383 | /* | 385 | /* |