aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_mmu.c')
-rw-r--r--sim/bfin/dv-bfin_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_mmu.c b/sim/bfin/dv-bfin_mmu.c
index ceb0e36..b951e9a 100644
--- a/sim/bfin/dv-bfin_mmu.c
+++ b/sim/bfin/dv-bfin_mmu.c
@@ -532,7 +532,7 @@ _mmu_check_addr (SIM_CPU *cpu, bu32 addr, bool write, bool inst, int size)
}
else
/* Normalize hit count so hits==2 is always multiple hit exception. */
- hits = MIN (2, hits);
+ hits = min (2, hits);
_mmu_log_fault (cpu, mmu, addr, write, inst, hits == 0, supv, dag1, faults);