Skip to content
Commit 2cd76c50 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma()



This is one of the simple cases, except there's no pt_regs pointer.
Which is fine, as lock_mm_and_find_vma() is set up to work fine with a
NULL pt_regs.

Powerpc already enabled LOCK_MM_AND_FIND_VMA for the main CPU faulting,
so we can just use the helper without any extra work.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a050ba1e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment