arch/arm64/kvm: use vma_lookup() instead of find_vma_intersection()
authorLiam Howlett <liam.howlett@oracle.com>
Tue, 29 Jun 2021 02:38:59 +0000 (19:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:51 +0000 (10:53 -0700)
commit09eef83a801512a71b0c95c25e7d8fd69141aa1b
treea392311f78d1e41545494d9d4b4b6a90c69d2ac2
parentb55541414bd00dbf64cf2ff4c4f1c41cd5cd42dc
arch/arm64/kvm: use vma_lookup() instead of find_vma_intersection()

vma_lookup() finds the vma of a specific address with a cleaner interface
and is more readable.

Link: https://lkml.kernel.org/r/20210521174745.2219620-5-Liam.Howlett@Oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm64/kvm/mmu.c