diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/include/asm/pgtable.h | 2 | ||||
-rw-r--r-- | arch/avr32/mm/tlb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/avr32/include/asm/pgtable.h b/arch/avr32/include/asm/pgtable.h index fecdda16f444..a9ae30c41e74 100644 --- a/arch/avr32/include/asm/pgtable.h +++ b/arch/avr32/include/asm/pgtable.h | |||
@@ -325,7 +325,7 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | |||
325 | 325 | ||
326 | struct vm_area_struct; | 326 | struct vm_area_struct; |
327 | extern void update_mmu_cache(struct vm_area_struct * vma, | 327 | extern void update_mmu_cache(struct vm_area_struct * vma, |
328 | unsigned long address, pte_t pte); | 328 | unsigned long address, pte_t *ptep); |
329 | 329 | ||
330 | /* | 330 | /* |
331 | * Encode and decode a swap entry | 331 | * Encode and decode a swap entry |
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c index 06677be98ffb..0da23109f817 100644 --- a/arch/avr32/mm/tlb.c +++ b/arch/avr32/mm/tlb.c | |||
@@ -101,7 +101,7 @@ static void update_dtlb(unsigned long address, pte_t pte) | |||
101 | } | 101 | } |
102 | 102 | ||
103 | void update_mmu_cache(struct vm_area_struct *vma, | 103 | void update_mmu_cache(struct vm_area_struct *vma, |
104 | unsigned long address, pte_t pte) | 104 | unsigned long address, pte_t *ptep) |
105 | { | 105 | { |
106 | unsigned long flags; | 106 | unsigned long flags; |
107 | 107 | ||
@@ -110,7 +110,7 @@ void update_mmu_cache(struct vm_area_struct *vma, | |||
110 | return; | 110 | return; |
111 | 111 | ||
112 | local_irq_save(flags); | 112 | local_irq_save(flags); |
113 | update_dtlb(address, pte); | 113 | update_dtlb(address, *ptep); |
114 | local_irq_restore(flags); | 114 | local_irq_restore(flags); |
115 | } | 115 | } |
116 | 116 | ||