diff options
author | Ingo Molnar | 2021-08-26 09:14:05 +0200 |
---|---|---|
committer | Ingo Molnar | 2021-08-26 09:14:05 +0200 |
commit | 46466ae3a105d9620e1355e33125a413b8c6ce18 (patch) | |
tree | 618b2d3574626956e0c7ea1d3bc3b35328e8cb40 /arch/mips/kvm/tlb.c | |
parent | 3f2cbe3810a60111a33f5f6267bd5a237b826fc9 (diff) | |
parent | ccf26483416a339c114409f6e7cd02abdeaf8052 (diff) |
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips/kvm/tlb.c')
-rw-r--r-- | arch/mips/kvm/tlb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kvm/tlb.c b/arch/mips/kvm/tlb.c index 1088114e5482..a3b50d5e3b25 100644 --- a/arch/mips/kvm/tlb.c +++ b/arch/mips/kvm/tlb.c @@ -58,8 +58,7 @@ static int _kvm_mips_host_tlb_inv(unsigned long entryhi) tlb_probe_hazard(); idx = read_c0_index(); - if (idx >= current_cpu_data.tlbsize) - BUG(); + BUG_ON(idx >= current_cpu_data.tlbsize); if (idx >= 0) { write_c0_entryhi(UNIQUE_ENTRYHI(idx)); |