summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-02 14:34:58 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-02 14:34:58 -0400
commitacb91c2dfa19dadc4549b2e0fced42b2a8bce34f (patch)
treeb584e40b3c0ac0ee99086890974251e287c1f991 /src
parent970261f9ceeded02162760365ce08c8d1fd4b506 (diff)
downloadgem5-acb91c2dfa19dadc4549b2e0fced42b2a8bce34f.tar.xz
Linux Support: make sure that when we get the stack page for thread info we're doing a 64bit not
--HG-- extra : convert_revision : c581921dd601fc72fd2d45b961c7440755b0331c
Diffstat (limited to 'src')
-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);
}