Sean Christopherson 61ffb3a50c 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>
2020-07-09 13:29:42 -04:00
..
2020-06-01 04:26:27 -04:00
2020-06-11 14:02:32 -04:00
2020-06-01 04:26:27 -04:00
2020-05-16 15:04:18 +01:00
2020-05-16 15:05:01 +01:00
2020-05-16 15:05:01 +01:00