summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLiam Howlett <liam.howlett@oracle.com>2021-06-29 04:39:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-06-29 19:53:51 +0200
commit7f7020ac0dc9a7a7dfb2237c6e8ed13f40162a6b (patch)
tree24bc8aebc1a8bfe7a6a4dc85e4c1cad653ea009b /arch/x86
parentarch/powerpc/kvm/book3s: use vma_lookup() in kvmppc_hv_setup_htab_rma() (diff)
downloadlinux-7f7020ac0dc9a7a7dfb2237c6e8ed13f40162a6b.tar.xz
linux-7f7020ac0dc9a7a7dfb2237c6e8ed13f40162a6b.zip
arch/mips/kernel/traps: use vma_lookup() instead of find_vma()
Use vma_lookup() to find the VMA at a specific address. As vma_lookup() will return NULL if the address is not within any VMA, the start address no longer needs to be validated. Link: https://lkml.kernel.org/r/20210521174745.2219620-8-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>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions