summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2011-11-21 04:52:18 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-21 21:10:21 +0100
commitcc11f9edd919002d8b3a03601a181a449150defd (patch)
treebe50943210d19f41b71037517ad74bdd74deb3d5 /arch/x86/um
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-cc11f9edd919002d8b3a03601a181a449150defd.tar.xz
linux-cc11f9edd919002d8b3a03601a181a449150defd.zip
fix braino in um patchset (mea culpa)
wrong register returned... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/asm/processor.h b/arch/x86/um/asm/processor.h
index 118c143a9cb4..2c32df6fe231 100644
--- a/arch/x86/um/asm/processor.h
+++ b/arch/x86/um/asm/processor.h
@@ -11,7 +11,7 @@
#endif
#define KSTK_EIP(tsk) KSTK_REG(tsk, HOST_IP)
-#define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_IP)
+#define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_SP)
#define KSTK_EBP(tsk) KSTK_REG(tsk, HOST_BP)
#define ARCH_IS_STACKGROW(address) \