summaryrefslogtreecommitdiff
path: root/src/arch/power/utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/utility.cc')
-rw-r--r--src/arch/power/utility.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/power/utility.cc b/src/arch/power/utility.cc
index d48d4870a..399ec1f56 100644
--- a/src/arch/power/utility.cc
+++ b/src/arch/power/utility.cc
@@ -52,8 +52,7 @@ copyRegs(ThreadContext *src, ThreadContext *dest)
copyMiscRegs(src, dest);
// Lastly copy PC/NPC
- dest->setPC(src->readPC());
- dest->setNextPC(src->readNextPC());
+ dest->pcState(src->pcState());
}
void