diff options
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/faults.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/faults.cc b/src/arch/sparc/faults.cc index 814a33bd3..01d57e627 100644 --- a/src/arch/sparc/faults.cc +++ b/src/arch/sparc/faults.cc @@ -643,8 +643,8 @@ FastDataAccessMMUMiss::invoke(ThreadContext *tc, StaticInstPtr inst) TlbEntry entry; bool success = p->pTable->lookup(vaddr, entry); if (!success) { - p->checkAndAllocNextPage(vaddr); - success = p->pTable->lookup(vaddr, entry); + if (p->fixupStackFault(vaddr)) + success = p->pTable->lookup(vaddr, entry); } if (!success) { panic("Tried to access unmapped address %#x.\n", vaddr); |