diff options
Diffstat (limited to 'arch/powerpc/mm/copro_fault.c')
| -rw-r--r-- | arch/powerpc/mm/copro_fault.c | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/mm/copro_fault.c b/arch/powerpc/mm/copro_fault.c index b83abbead4a2..8acd00178956 100644 --- a/arch/powerpc/mm/copro_fault.c +++ b/arch/powerpc/mm/copro_fault.c @@ -64,7 +64,7 @@ int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,  	}  	ret = 0; -	*flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0); +	*flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL);  	if (unlikely(*flt & VM_FAULT_ERROR)) {  		if (*flt & VM_FAULT_OOM) {  			ret = -ENOMEM; @@ -76,11 +76,6 @@ int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,  		BUG();  	} -	if (*flt & VM_FAULT_MAJOR) -		current->maj_flt++; -	else -		current->min_flt++; -  out_unlock:  	mmap_read_unlock(mm);  	return ret;  |