X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fprocessor.h;h=94afe5859301f272eb6dedf7343f6e877f8fd77c;hb=7cece14acd063dd1c4e8933461d44ec6a5a5517b;hp=425b7b6d28cbba8e99ec8c1bbd9af578b77752df;hpb=e7de369050534025b33aab1033358bf47a577e4d;p=cascardo%2Flinux.git diff --git a/include/asm-alpha/processor.h b/include/asm-alpha/processor.h index 425b7b6d28cb..94afe5859301 100644 --- a/include/asm-alpha/processor.h +++ b/include/asm-alpha/processor.h @@ -20,6 +20,11 @@ */ #define TASK_SIZE (0x40000000000UL) +#define STACK_TOP \ + (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL) + +#define STACK_TOP_MAX 0x00120000000UL + /* This decides where the kernel will search for a free chunk of vm * space during mmap's. */