X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-arm%2Fprocessor.h;h=bd8029e8dc67fd19cc6ed02f5f62f0debb074dd1;hb=3d7e6cf8f5837c6dace759734c987e03021a4015;hp=1bbf16182d62ab4bfabd3c13e065d8280c38ccd9;hpb=02828845dda5ccf921ab2557c6ca17b6e7fc70e2;p=linux-2.6 diff --git a/include/asm-arm/processor.h b/include/asm-arm/processor.h index 1bbf16182d..bd8029e8dc 100644 --- a/include/asm-arm/processor.h +++ b/include/asm-arm/processor.h @@ -22,6 +22,12 @@ #include #include +#ifdef __KERNEL__ +#define STACK_TOP ((current->personality == PER_LINUX_32BIT) ? \ + TASK_SIZE : TASK_SIZE_26) +#define STACK_TOP_MAX TASK_SIZE +#endif + union debug_insn { u32 arm; u16 thumb;