diff options
Diffstat (limited to 'src/arch/arm/tlb.cc')
-rw-r--r-- | src/arch/arm/tlb.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc index de7ebf8b6..d3f44c316 100644 --- a/src/arch/arm/tlb.cc +++ b/src/arch/arm/tlb.cc @@ -1183,7 +1183,7 @@ TLB::translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode, return fault; } -Fault +void TLB::translateTiming(RequestPtr req, ThreadContext *tc, Translation *translation, Mode mode, TLB::ArmTranslationType tranType) { @@ -1191,12 +1191,13 @@ TLB::translateTiming(RequestPtr req, ThreadContext *tc, if (directToStage2) { assert(stage2Tlb); - return stage2Tlb->translateTiming(req, tc, translation, mode, tranType); + stage2Tlb->translateTiming(req, tc, translation, mode, tranType); + return; } assert(translation); - return translateComplete(req, tc, translation, mode, tranType, isStage2); + translateComplete(req, tc, translation, mode, tranType, isStage2); } Fault |