summaryrefslogtreecommitdiff
path: root/arch/alpha/linux/threadinfo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/linux/threadinfo.hh')
-rw-r--r--arch/alpha/linux/threadinfo.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/linux/threadinfo.hh b/arch/alpha/linux/threadinfo.hh
index bdb8e1e4c..8f03c9314 100644
--- a/arch/alpha/linux/threadinfo.hh
+++ b/arch/alpha/linux/threadinfo.hh
@@ -54,7 +54,7 @@ class ThreadInfo
* thread_info struct. So we can get the address by masking off
* the lower 14 bits.
*/
- current = xc->regs.intRegFile[TheISA::StackPointerReg] & ~0x3fff;
+ current = xc->readIntReg(TheISA::StackPointerReg) & ~0x3fff;
return VPtr<thread_info>(xc, current);
}