summaryrefslogtreecommitdiff
path: root/mm/gup.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-08-02 13:46:19 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2021-10-18 16:31:45 +0200
commit0c8eb2884a42d992c7726539328b7d3568f22143 (patch)
tree8bbeb387b5d3c11f08f36a29eb4ec47ff87a29f0 /mm/gup.c
parent814a66741b9ffb5e1ba119e368b178edb0b7322d (diff)
downloadlinux-0c8eb2884a42d992c7726539328b7d3568f22143.tar.gz
powerpc/kvm: Fix kvm_use_magic_page
When switching from __get_user to fault_in_pages_readable, commit 9f9eae5ce717 broke kvm_use_magic_page: like __get_user, fault_in_pages_readable returns 0 on success. Fixes: 9f9eae5ce717 ("powerpc/kvm: Prefer fault_in_pages_readable function") Cc: stable@vger.kernel.org # v4.18+ Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions