summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-06-04 16:04:55 -0400
committerAndrew Schultz <alschult@umich.edu>2004-06-04 16:04:55 -0400
commitee65ee1604418bc0dba90e8fc022b61a59ad37e6 (patch)
treed128f75982c788d141cc5e92355f8ce54c65468f
parent0379a27896bf43bfbc2e6f7f6921f22bd41a3209 (diff)
downloadgem5-ee65ee1604418bc0dba90e8fc022b61a59ad37e6.tar.xz
Fix to TsunamiIO unserialize
dev/tsunami_io.cc: Timers don't need to be rescheduled cause they aren't scheduled by the default constructor --HG-- extra : convert_revision : afb68e4f0c4e2a2c98f0037e061752690080a503
-rw-r--r--dev/tsunami_io.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/tsunami_io.cc b/dev/tsunami_io.cc
index 2da313f56..e757c805e 100644
--- a/dev/tsunami_io.cc
+++ b/dev/tsunami_io.cc
@@ -413,8 +413,8 @@ TsunamiIO::unserialize(Checkpoint *cp, const std::string &section)
UNSERIALIZE_SCALAR(time0when);
UNSERIALIZE_SCALAR(time2when);
UNSERIALIZE_SCALAR(rtcwhen);
- timer0.reschedule(time0when);
- timer2.reschedule(time2when);
+ timer0.schedule(time0when);
+ timer2.schedule(time2when);
rtc.reschedule(rtcwhen);
UNSERIALIZE_SCALAR(RTCAddress);
}