public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] fix braino in um patchset (mea culpa)
@ 2011-11-21  3:52 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2011-11-21  3:52 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Richard Weinberger, linux-kernel

wrong register returned...
    
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

diff --git a/arch/x86/um/asm/processor.h b/arch/x86/um/asm/processor.h
index 936d7ac..04f82e0 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) \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-21  3:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21  3:52 [patch] fix braino in um patchset (mea culpa) Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox