diff options
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 | /* |