X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-arm%2Fprocessor.h;h=bd8029e8dc67fd19cc6ed02f5f62f0debb074dd1;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=1bbf16182d62ab4bfabd3c13e065d8280c38ccd9;hpb=463e7c7cf9aaf95dd05e97e1a47854fdf5454cdc;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;