diff options
author | Liam Howlett <[email protected]> | 2021-06-28 19:39:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:51 -0700 |
commit | 900c83f88af06bf0466c28bdde8a2c011b855e44 (patch) | |
tree | ae927bbf43d080c52afbda795be389d05dc34d5b /tools/perf/scripts/python/sctop.py | |
parent | 27a14d287e16c308040508be9f0cb28bc935bd0e (diff) |
arch/powerpc/kvm/book3s: use vma_lookup() in kvmppc_hv_setup_htab_rma()
Using vma_lookup() removes the requirement to check if the address is
within the returned vma. The code is easier to understand and more
compact.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Reviewed-by: Laurent Dufour <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions