Skip to contentSkip to conversation

fix braino in um patchset (mea culpa)

PATCH New Al Viro 1 participant 1 message Nov 21, 2011

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 fix braino in um patchset (mea culpa)

wrong register returned...

arch/x86/um/asm/processor.h +1 -1
index 936d7ac..04f82e0 100644
@@ -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) \