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 a3413acb8f12..3fa09ba3845f 100644 --- a/arch/sparc/mm/fault_32.c +++ b/arch/sparc/mm/fault_32.c | |||
@@ -378,7 +378,7 @@ asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, | |||
378 | unsigned long address) | 378 | unsigned long address) |
379 | { | 379 | { |
380 | extern void sun4c_update_mmu_cache(struct vm_area_struct *, | 380 | extern void sun4c_update_mmu_cache(struct vm_area_struct *, |
381 | unsigned long,pte_t); | 381 | unsigned long,pte_t *); |
382 | extern pte_t *sun4c_pte_offset_kernel(pmd_t *,unsigned long); | 382 | extern pte_t *sun4c_pte_offset_kernel(pmd_t *,unsigned long); |
383 | struct task_struct *tsk = current; | 383 | struct task_struct *tsk = current; |
384 | struct mm_struct *mm = tsk->mm; | 384 | struct mm_struct *mm = tsk->mm; |
@@ -455,7 +455,7 @@ asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write, | |||
455 | * on the CPU and doing a shrink_mmap() on this vma. | 455 | * on the CPU and doing a shrink_mmap() on this vma. |
456 | */ | 456 | */ |
457 | sun4c_update_mmu_cache (find_vma(current->mm, address), address, | 457 | sun4c_update_mmu_cache (find_vma(current->mm, address), address, |
458 | *ptep); | 458 | ptep); |
459 | else | 459 | else |
460 | do_sparc_fault(regs, text_fault, write, address); | 460 | do_sparc_fault(regs, text_fault, write, address); |
461 | } | 461 | } |