diff options
Diffstat (limited to 'src/arch/arm/tlb.cc')
-rw-r--r-- | src/arch/arm/tlb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc index 170d819d8..6b864b980 100644 --- a/src/arch/arm/tlb.cc +++ b/src/arch/arm/tlb.cc @@ -107,7 +107,7 @@ TLB::lookup(Addr va, uint8_t cid, bool functional) if (table[x].match(va, cid)) { // We only move the hit entry ahead when the position is higher than rangeMRU - if (x > rangeMRU) { + if (x > rangeMRU && !functional) { TlbEntry tmp_entry = table[x]; for(int i = x; i > 0; i--) table[i] = table[i-1]; |