Skip to content
Commit 0c8eb288 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

powerpc/kvm: Fix kvm_use_magic_page



When switching from __get_user to fault_in_pages_readable, commit
9f9eae5c broke kvm_use_magic_page: like __get_user,
fault_in_pages_readable returns 0 on success.

Fixes: 9f9eae5c ("powerpc/kvm: Prefer fault_in_pages_readable function")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 814a6674
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