summaryrefslogtreecommitdiff
path: root/src/arch/x86/vtophys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/vtophys.cc')
-rw-r--r--src/arch/x86/vtophys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/vtophys.cc b/src/arch/x86/vtophys.cc
index 9b76d89a5..d0287f2ce 100644
--- a/src/arch/x86/vtophys.cc
+++ b/src/arch/x86/vtophys.cc
@@ -60,7 +60,7 @@ namespace X86ISA
Addr
vtophys(ThreadContext *tc, Addr vaddr)
{
- Walker *walker = tc->getDTBPtr()->getWalker();
+ Walker *walker = dynamic_cast<TLB *>(tc->getDTBPtr())->getWalker();
unsigned logBytes;
Addr addr = vaddr;
Fault fault = walker->startFunctional(