summaryrefslogtreecommitdiff
path: root/kern/kernel_stats.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-02-27 12:09:08 -0500
committerKevin Lim <ktlim@umich.edu>2006-02-27 12:09:08 -0500
commit96fd6b5c4039c98a1b536ec184126ad75e7d2539 (patch)
treef48350603bf2d02cd1ea32bbe0012624c6a82a6f /kern/kernel_stats.cc
parent29f50d934549f10b073a5492bd0d441d71534ace (diff)
parent70b35bab5778799805fe9b6040b23eb1885dbfc3 (diff)
downloadgem5-96fd6b5c4039c98a1b536ec184126ad75e7d2539.tar.xz
Merge ktlim@zizzer:/bk/m5
into zamp.eecs.umich.edu:/z/ktlim2/clean/m5-clean --HG-- extra : convert_revision : 97c345f0715a347ce34f9cabd994485f30f2e171
Diffstat (limited to 'kern/kernel_stats.cc')
-rw-r--r--kern/kernel_stats.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/kernel_stats.cc b/kern/kernel_stats.cc
index 50bbaee00..3beeaa14a 100644
--- a/kern/kernel_stats.cc
+++ b/kern/kernel_stats.cc
@@ -240,7 +240,7 @@ Statistics::swpipl(int ipl)
void
Statistics::mode(cpu_mode newmode)
{
- Addr pcbb = xc->regs.ipr[AlphaISA::IPR_PALtemp23];
+ Addr pcbb = xc->readMiscReg(AlphaISA::IPR_PALtemp23);
if ((newmode == kernel || newmode == interrupt) &&
pcbb == idleProcess)