summaryrefslogtreecommitdiff
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-07-02 19:35:43 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-09 13:29:43 -0400
commit220a7060d58f4ea7e72c04618b2774228a37468c (patch)
tree4ddfffb0a92f772aaeff4a17e843fff4c0c24321 /arch/sh/kernel
parentc1a33aebe91d49c958df1648b2a84db96c403075 (diff)
KVM: MIPS: 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 MIPS to the common memory cache implementation. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200703023545.8771-20-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sh/kernel')
0 files changed, 0 insertions, 0 deletions