diff options
Diffstat (limited to 'arch/sparc/mm/fault_32.c')
-rw-r--r-- | arch/sparc/mm/fault_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c index b99f81c4906f..43e20efb2511 100644 --- a/arch/sparc/mm/fault_32.c +++ b/arch/sparc/mm/fault_32.c | |||
@@ -370,7 +370,7 @@ asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, | |||
370 | unsigned long address) | 370 | unsigned long address) |
371 | { | 371 | { |
372 | extern void sun4c_update_mmu_cache(struct vm_area_struct *, | 372 | extern void sun4c_update_mmu_cache(struct vm_area_struct *, |
373 | unsigned long,pte_t); | 373 | unsigned long,pte_t *); |
374 | extern pte_t *sun4c_pte_offset_kernel(pmd_t *,unsigned long); | 374 | extern pte_t *sun4c_pte_offset_kernel(pmd_t *,unsigned long); |
375 | struct task_struct *tsk = current; | 375 | struct task_struct *tsk = current; |
376 | struct mm_struct *mm = tsk->mm; | 376 | struct mm_struct *mm = tsk->mm; |
@@ -447,7 +447,7 @@ asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, | |||
447 | * on the CPU and doing a shrink_mmap() on this vma. | 447 | * on the CPU and doing a shrink_mmap() on this vma. |
448 | */ | 448 | */ |
449 | sun4c_update_mmu_cache (find_vma(current->mm, address), address, | 449 | sun4c_update_mmu_cache (find_vma(current->mm, address), address, |
450 | *ptep); | 450 | ptep); |
451 | else | 451 | else |
452 | do_sparc_fault(regs, text_fault, write, address); | 452 | do_sparc_fault(regs, text_fault, write, address); |
453 | } | 453 | } |