diff options
Diffstat (limited to 'arch/x86/um/asm/processor_64.h')
-rw-r--r-- | arch/x86/um/asm/processor_64.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/um/asm/processor_64.h b/arch/x86/um/asm/processor_64.h index 6db812b24f4..0186c61d0a7 100644 --- a/arch/x86/um/asm/processor_64.h +++ b/arch/x86/um/asm/processor_64.h | |||
@@ -42,9 +42,6 @@ static inline void arch_copy_thread(struct arch_thread *from, | |||
42 | #define current_text_addr() \ | 42 | #define current_text_addr() \ |
43 | ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; }) | 43 | ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; }) |
44 | 44 | ||
45 | #define ARCH_IS_STACKGROW(address) \ | ||
46 | (address + 128 >= UPT_SP(¤t->thread.regs.regs)) | ||
47 | |||
48 | #define KSTK_EIP(tsk) KSTK_REG(tsk, RIP) | 45 | #define KSTK_EIP(tsk) KSTK_REG(tsk, RIP) |
49 | #define KSTK_ESP(tsk) KSTK_REG(tsk, RSP) | 46 | #define KSTK_ESP(tsk) KSTK_REG(tsk, RSP) |
50 | 47 | ||