-----Original Message----- From: g...@cmdmail.amd.com [mailto:g...@cmdmail.amd.com] Sent: Monday, November 09, 2009 10:32 AM To: Beckmann, Brad Subject: [PATCH 16 of 31] m5: Fixed bug in atomic cpu destructor
# HG changeset patch # User Brad Beckmann <brad.beckm...@amd.com> # Date 1257791383 28800 # Node ID 948a0ecb5be01d7ea98f367861e6345de3d07a11 # Parent 53c75ffb387ae6798f0b0db85b33995a6faaaabc m5: Fixed bug in atomic cpu destructor diff -r 53c75ffb387a -r 948a0ecb5be0 src/cpu/simple/atomic.cc --- a/src/cpu/simple/atomic.cc Mon Nov 09 10:29:43 2009 -0800 +++ b/src/cpu/simple/atomic.cc Mon Nov 09 10:29:43 2009 -0800 @@ -171,6 +171,9 @@ AtomicSimpleCPU::~AtomicSimpleCPU() { + if (tickEvent.scheduled()) { + deschedule(tickEvent); + } } void _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev