diff options
Diffstat (limited to 'arch/mips/mm/c-tx39.c')
-rw-r--r-- | arch/mips/mm/c-tx39.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mm/c-tx39.c b/arch/mips/mm/c-tx39.c index ff5afab64b2f..5054a0ed2b6d 100644 --- a/arch/mips/mm/c-tx39.c +++ b/arch/mips/mm/c-tx39.c | |||
@@ -183,6 +183,7 @@ static void tx39_flush_cache_page(struct vm_area_struct *vma, unsigned long page | |||
183 | int exec = vma->vm_flags & VM_EXEC; | 183 | int exec = vma->vm_flags & VM_EXEC; |
184 | struct mm_struct *mm = vma->vm_mm; | 184 | struct mm_struct *mm = vma->vm_mm; |
185 | pgd_t *pgdp; | 185 | pgd_t *pgdp; |
186 | pud_t *pudp; | ||
186 | pmd_t *pmdp; | 187 | pmd_t *pmdp; |
187 | pte_t *ptep; | 188 | pte_t *ptep; |
188 | 189 | ||
@@ -195,7 +196,8 @@ static void tx39_flush_cache_page(struct vm_area_struct *vma, unsigned long page | |||
195 | 196 | ||
196 | page &= PAGE_MASK; | 197 | page &= PAGE_MASK; |
197 | pgdp = pgd_offset(mm, page); | 198 | pgdp = pgd_offset(mm, page); |
198 | pmdp = pmd_offset(pgdp, page); | 199 | pudp = pud_offset(pgdp, page); |
200 | pmdp = pmd_offset(pudp, page); | ||
199 | ptep = pte_offset(pmdp, page); | 201 | ptep = pte_offset(pmdp, page); |
200 | 202 | ||
201 | /* | 203 | /* |