X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-alpha%2Fprocessor.h;h=94afe5859301f272eb6dedf7343f6e877f8fd77c;hb=98920dc3d1113b883cbc73e3293446d3525c6042;hp=425b7b6d28cbba8e99ec8c1bbd9af578b77752df;hpb=9f5974c8734d83d4ab7096ed98136a82f41210d6;p=pandora-kernel.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. */