summaryrefslogtreecommitdiff
path: root/src/arch/x86/interrupts.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-19 03:54:11 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-19 03:54:11 -0700
commitbdda224d4110dd8ebb6224bfa9bc2641957a8c57 (patch)
tree50cc190f8f9de426b79d0bc4ae7c7a32ae96857f /src/arch/x86/interrupts.cc
parent3031af21c7b0d73508f3b339e8166e744857c18f (diff)
downloadgem5-bdda224d4110dd8ebb6224bfa9bc2641957a8c57.tar.xz
X86: Add a function which gets called when an interrupt message has been delivered.
Diffstat (limited to 'src/arch/x86/interrupts.cc')
-rw-r--r--src/arch/x86/interrupts.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc
index a0ce30ad7..9ac4b20ba 100644
--- a/src/arch/x86/interrupts.cc
+++ b/src/arch/x86/interrupts.cc
@@ -327,8 +327,7 @@ X86ISA::Interrupts::recvMessage(PacketPtr pkt)
offset);
break;
}
- delete pkt->req;
- delete pkt;
+ pkt->makeAtomicResponse();
return latency;
}