diff options
author | 2020-07-02 19:35:40 -0700 | |
---|---|---|
committer | 2020-07-09 13:29:42 -0400 | |
commit | 61ffb3a50c4402e17ead1257914ee98fd8c6f2f8 (patch) | |
tree | 03ad564d5899b11771ede38123e81c46571cdee3 /tools/perf/scripts/python | |
parent | KVM: Move x86's MMU memory cache helpers to common KVM code (diff) | |
download | wireguard-linux-61ffb3a50c4402e17ead1257914ee98fd8c6f2f8.tar.xz wireguard-linux-61ffb3a50c4402e17ead1257914ee98fd8c6f2f8.zip |
KVM: arm64: Drop @max param from mmu_topup_memory_cache()
Replace the @max param in mmu_topup_memory_cache() and instead use
ARRAY_SIZE() to terminate the loop to fill the cache. This removes a
BUG_ON() and sets the stage for moving arm64 to the common memory cache
implementation.
No functional change intended.
Tested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200703023545.8771-17-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions