summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2011-11-21 03:52:18 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-21 12:10:21 -0800
commitcc11f9edd919002d8b3a03601a181a449150defd (patch)
treebe50943210d19f41b71037517ad74bdd74deb3d5 /arch/x86
parent6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82 (diff)
downloadop-kernel-dev-cc11f9edd919002d8b3a03601a181a449150defd.zip
op-kernel-dev-cc11f9edd919002d8b3a03601a181a449150defd.tar.gz
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')
-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 118c143..2c32df6 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) \
OpenPOWER on IntegriCloud