summaryrefslogtreecommitdiff
path: root/sim/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/process.cc')
-rw-r--r--sim/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/process.cc b/sim/process.cc
index bb4333896..0d7c3403d 100644
--- a/sim/process.cc
+++ b/sim/process.cc
@@ -149,7 +149,7 @@ Process::registerExecContext(ExecContext *xc)
xc->regs = *init_regs;
// mark this context as active
- xc->setStatus(ExecContext::Active);
+ xc->activate();
}
// return CPU number to caller and increment available CPU count