summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/tlb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc
index 623e1871d..df7a33ad2 100644
--- a/src/arch/x86/tlb.cc
+++ b/src/arch/x86/tlb.cc
@@ -101,7 +101,7 @@ TLB::insert(Addr vpn, TlbEntry &entry)
// If somebody beat us to it, just use that existing entry.
TlbEntry *newEntry = trie.lookup(vpn);
if (newEntry) {
- assert(newEntry->vaddr = vpn);
+ assert(newEntry->vaddr == vpn);
return newEntry;
}