git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-sparc64
/
a.out.h
diff --git
a/include/asm-sparc64/a.out.h
b/include/asm-sparc64/a.out.h
index
02af289
..
35cb5c9
100644
(file)
--- a/
include/asm-sparc64/a.out.h
+++ b/
include/asm-sparc64/a.out.h
@@
-95,7
+95,11
@@
struct relocation_info /* used when header.a_machtype == M_SPARC */
#ifdef __KERNEL__
#ifdef __KERNEL__
-#define STACK_TOP (test_thread_flag(TIF_32BIT) ? 0xf0000000 : 0x80000000000L)
+#define STACK_TOP32 ((1UL << 32UL) - PAGE_SIZE)
+#define STACK_TOP64 (0x0000080000000000UL - (1UL << 32UL))
+
+#define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
+ STACK_TOP32 : STACK_TOP64)
#endif
#endif