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 118c143..2c32df6 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) \