diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 20:10:19 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 14:15:19 +0100 |
commit | c7ea591c91162a203a5961d69f5c86a6ef9d50c1 (patch) | |
tree | 06fd34b8f1b2009c3266b587b6024c62db6920fe /arch/x86/um/asm/processor_32.h | |
parent | 3579a389730dd74d9f280152c52aa851dd1da860 (diff) | |
download | linux-c7ea591c91162a203a5961d69f5c86a6ef9d50c1.tar.gz linux-c7ea591c91162a203a5961d69f5c86a6ef9d50c1.tar.xz |
um: increase stack growth cushion in pagefault
analog of [PATCH] i386: let usermode execute the "enter" instruction from
circa 2006.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/asm/processor_32.h')
-rw-r--r-- | arch/x86/um/asm/processor_32.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/um/asm/processor_32.h b/arch/x86/um/asm/processor_32.h index ae0d189aafcf..e5b72faea0f6 100644 --- a/arch/x86/um/asm/processor_32.h +++ b/arch/x86/um/asm/processor_32.h @@ -63,9 +63,6 @@ static inline void rep_nop(void) #define current_text_addr() \ ({ void *pc; __asm__("movl $1f,%0\n1:":"=g" (pc)); pc; }) -#define ARCH_IS_STACKGROW(address) \ - (address + 32 >= UPT_SP(¤t->thread.regs.regs)) - #define KSTK_EIP(tsk) KSTK_REG(tsk, EIP) #define KSTK_ESP(tsk) KSTK_REG(tsk, UESP) #define KSTK_EBP(tsk) KSTK_REG(tsk, EBP) |