summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-02 15:14:36 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-02 15:14:36 -0700
commitfa9e4d110aba05fb860e299d1765249589e9b810 (patch)
tree2b2aaac3026d0b540f1557f273febfb5db5069b1 /src/arch
parent4af5740afdbd10fc4e8f9370d7b5ad49642c20e4 (diff)
parent4041e1ddd98ce0d3e21714b5830ac5f3e66c3765 (diff)
downloadgem5-fa9e4d110aba05fb860e299d1765249589e9b810.tar.xz
Merge with head.
--HG-- extra : convert_revision : 7700f475caa676948175cdf126ee018b0c4ad35c
Diffstat (limited to 'src/arch')
-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);
}