fix braino in um patchset (mea culpa)
authorAl Viro <viro@ZenIV.linux.org.uk>
Mon, 21 Nov 2011 03:52:18 +0000 (03:52 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Nov 2011 20:10:21 +0000 (12:10 -0800)
wrong register returned...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/um/asm/processor.h

index 118c143a9cb49ca03ced909f1a0744902889d701..2c32df6fe23167a6ca3955fdac07444f6f2fbc34 100644 (file)
@@ -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) \