diff options
Diffstat (limited to 'src/arch/power/tlb.cc')
-rw-r--r-- | src/arch/power/tlb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/power/tlb.cc b/src/arch/power/tlb.cc index 1396d726c..950483893 100644 --- a/src/arch/power/tlb.cc +++ b/src/arch/power/tlb.cc @@ -282,7 +282,7 @@ TLB::translateInst(RequestPtr req, ThreadContext *tc) if (req->getVaddr() & 0x3) { DPRINTF(TLB, "Alignment Fault on %#x, size = %d\n", req->getVaddr(), req->getSize()); - return new AlignmentFault(); + return std::make_shared<AlignmentFault>(); } Process * p = tc->getProcessPtr(); |