X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fprocessor.h;h=cbbd114716723729107014b56eda0eca3f043159;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=4c9d607021d7fafe18668dbb4cfaa6149d33103a;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 4c9d60702..cbbd11471 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h @@ -76,6 +76,8 @@ extern struct task_struct *last_task_used_math; #define MM_VM_SIZE(mm) DEFAULT_TASK_SIZE +#define HAVE_ARCH_PICK_MMAP_LAYOUT + typedef struct { __u32 ar4; } mm_segment_t; @@ -101,6 +103,25 @@ struct thread_struct { typedef struct thread_struct thread_struct; +/* + * Stack layout of a C stack frame. + */ +#ifndef __PACK_STACK +struct stack_frame { + unsigned long back_chain; + unsigned long empty1[5]; + unsigned long gprs[10]; + unsigned int empty2[8]; +}; +#else +struct stack_frame { + unsigned long empty1[5]; + unsigned int empty2[8]; + unsigned long gprs[10]; + unsigned long back_chain; +}; +#endif + #define ARCH_MIN_TASKALIGN 8 #ifndef __s390x__