summaryrefslogtreecommitdiff
path: root/sim/prog.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-10-24 23:37:28 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2003-10-24 23:37:28 -0700
commit9508bf0a8706162d7f081dd4a0343ca572959210 (patch)
tree48cb730eaf2cdfb7d6c2526008b9beeaf8d2a67c /sim/prog.cc
parent47399b6c5e3f2b76ac934c4005726c913df0c218 (diff)
parent2622601b836c413546fdbb12abcd6a3cec34c74b (diff)
downloadgem5-9508bf0a8706162d7f081dd4a0343ca572959210.tar.xz
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG-- extra : convert_revision : 921d26b6fe29870fa532394b388bc0fe6cac183e
Diffstat (limited to 'sim/prog.cc')
-rw-r--r--sim/prog.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/prog.cc b/sim/prog.cc
index 599a0ca9a..fca4b4505 100644
--- a/sim/prog.cc
+++ b/sim/prog.cc
@@ -148,10 +148,7 @@ Process::registerExecContext(ExecContext *xc)
xc->regs = *init_regs;
// mark this context as active
- xc->initStatus(ExecContext::Active);
- }
- else {
- xc->initStatus(ExecContext::Unallocated);
+ xc->setStatus(ExecContext::Active);
}
// return CPU number to caller and increment available CPU count