summaryrefslogtreecommitdiff
path: root/src/sim/tlb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/tlb.hh')
-rw-r--r--src/sim/tlb.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/tlb.hh b/src/sim/tlb.hh
index b54eb501f..c4c171015 100644
--- a/src/sim/tlb.hh
+++ b/src/sim/tlb.hh
@@ -67,7 +67,7 @@ class GenericTLB : public GenericTLBBase
if(doSizeCheck && !isPowerOf2(size))
panic("Invalid request size!\n");
if (doAlignmentCheck && ((size - 1) & paddr))
- return Fault(new GenericAlignmentFault(paddr));
+ return new GenericAlignmentFault(paddr);
return NoFault;
}