diff options
Diffstat (limited to 'arch/xtensa/mm/cache.c')
-rw-r--r-- | arch/xtensa/mm/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/mm/cache.c b/arch/xtensa/mm/cache.c index 3ba990c67676..85df4655d326 100644 --- a/arch/xtensa/mm/cache.c +++ b/arch/xtensa/mm/cache.c | |||
@@ -147,9 +147,9 @@ void flush_cache_page(struct vm_area_struct* vma, unsigned long address, | |||
147 | #endif | 147 | #endif |
148 | 148 | ||
149 | void | 149 | void |
150 | update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t pte) | 150 | update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep) |
151 | { | 151 | { |
152 | unsigned long pfn = pte_pfn(pte); | 152 | unsigned long pfn = pte_pfn(*ptep); |
153 | struct page *page; | 153 | struct page *page; |
154 | 154 | ||
155 | if (!pfn_valid(pfn)) | 155 | if (!pfn_valid(pfn)) |