X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc%2Fprocessor.h;h=40b1e41fdea7037e8d361c372674dd8cb55e39de;hb=37ddd5d053c57fee798d72fa9c18660f59a9299b;hp=6fbb3f0af8d891a6b7e1fdc8b80c58970a0a5a4e;hpb=3115624eda34d0f4e673fc6bcea36b7ad701ee33;p=linux-2.6 diff --git a/include/asm-sparc/processor.h b/include/asm-sparc/processor.h index 6fbb3f0af8..40b1e41fde 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;