summaryrefslogtreecommitdiff
path: root/src/arch/x86/tlb.cc
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-06-07 17:03:45 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-06-07 17:03:45 -0500
commitd6609793d4ed44068890be810743cf78d3658160 (patch)
treef66c324e71bef05adfa8eabee2fa644fd7ffd7f2 /src/arch/x86/tlb.cc
parentc80cd4136e3fec00c8448bc0dea20a65b182a259 (diff)
downloadgem5-d6609793d4ed44068890be810743cf78d3658160.tar.xz
X86 TLB: Add a missing = sign
Diffstat (limited to 'src/arch/x86/tlb.cc')
-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;
}