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