]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/a.out.h
Merge branch 'e1000-fixes' of git://198.78.49.142/~jbrandeb/linux-2.6
[linux-2.6] / include / asm-sparc64 / a.out.h
index faac321d5594d01ac2b61f671b01aa0bc0c6bac5..35cb5c9e0c92f1625a20714e06662af39576c4ea 100644 (file)
@@ -95,9 +95,11 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
 
 #ifdef __KERNEL__
 
+#define STACK_TOP32    ((1UL << 32UL) - PAGE_SIZE)
+#define STACK_TOP64    (0x0000080000000000UL - (1UL << 32UL))
+
 #define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
-                  0xf0000000 : \
-                  (0x0000080000000000UL - (1UL << 32UL)))
+                  STACK_TOP32 : STACK_TOP64)
 
 #endif