summaryrefslogtreecommitdiff
path: root/arch/x86/um/asm/processor_64.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 19:12:09 (GMT)
committerRichard Weinberger <richard@nod.at>2011-11-02 13:15:26 (GMT)
commita10c95d84c2d04a4bfb02104644bbf2811b99690 (patch)
treebd8cc3d66cce495fe78fe76c3636ab02a9ad0784 /arch/x86/um/asm/processor_64.h
parent4d211093e838ddd049b5cf4f0773aa5ac67f9976 (diff)
downloadlinux-fsl-qoriq-a10c95d84c2d04a4bfb02104644bbf2811b99690.tar.xz
um: unify KSTK_...
... and switch get_thread_register() to HOST_... for register numbers 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_64.h')
-rw-r--r--arch/x86/um/asm/processor_64.h3
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 0186c61..61de92d 100644
--- a/arch/x86/um/asm/processor_64.h
+++ b/arch/x86/um/asm/processor_64.h
@@ -42,7 +42,4 @@ static inline void arch_copy_thread(struct arch_thread *from,
#define current_text_addr() \
({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; })
-#define KSTK_EIP(tsk) KSTK_REG(tsk, RIP)
-#define KSTK_ESP(tsk) KSTK_REG(tsk, RSP)
-
#endif