X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc%2Fprocessor.h;h=40b1e41fdea7037e8d361c372674dd8cb55e39de;hb=1429db83e276c2a16c7ea83bdcf0dcd3a36e406d;hp=6fbb3f0af8d891a6b7e1fdc8b80c58970a0a5a4e;hpb=8caf89157d64f1eedba37113afb4b303b2b3e301;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-sparc/processor.h b/include/asm-sparc/processor.h index 6fbb3f0af8d..40b1e41fdea 100644 --- a/include/asm-sparc/processor.h +++ b/include/asm-sparc/processor.h @@ -33,6 +33,10 @@ * we can make our access_ok test faster */ #define TASK_SIZE PAGE_OFFSET +#ifdef __KERNEL__ +#define STACK_TOP (PAGE_OFFSET - PAGE_SIZE) +#define STACK_TOP_MAX STACK_TOP +#endif /* __KERNEL__ */ struct task_struct;