]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/a.out.h
[NETFILTER]: nf_queue: move list_head/skb/id to struct nf_info
[linux-2.6] / include / asm-sparc64 / a.out.h
index faac321d5594d01ac2b61f671b01aa0bc0c6bac5..902e07f89a42a7ab125ee032775e1842a239efb6 100644 (file)
@@ -86,7 +86,7 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
         unsigned int    r_address;  /* relocation addr */
         unsigned int    r_index:24; /* segment index or symbol index */
         unsigned int    r_extern:1; /* if F, r_index==SEG#; if T, SYM idx */
-        int             r_pad:2;    /* <unused> */
+        unsigned int    r_pad:2;    /* <unused> */
         enum reloc_type r_type:5;   /* type of relocation to perform */
         int             r_addend;   /* addend for relocation value */
 };
@@ -95,9 +95,13 @@ 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)
+
+#define STACK_TOP_MAX STACK_TOP64
 
 #endif