summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2006-10-21 16:37:02 (GMT)
committerAndi Kleen <andi@basil.nowhere.org>2006-10-21 16:37:02 (GMT)
commit26fd5e084e470dbe8edc6f726fc918e89b9f988c (patch)
tree7975f626dfcc56ee92dd4e07954cab16c147b00d
parent7a71cef780404e8c90d23b1131142e158d94354b (diff)
downloadlinux-26fd5e084e470dbe8edc6f726fc918e89b9f988c.tar.xz
[PATCH] i386: Fix fake return address
The fake return address was being set to __KERNEL_PDA, rather than 0. Push it earlier while %eax still equals 0. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@muc.de> Cc: Andrew Morton <akpm@osdl.org>
-rw-r--r--arch/i386/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S
index be9d883..ca31f18 100644
--- a/arch/i386/kernel/head.S
+++ b/arch/i386/kernel/head.S
@@ -317,7 +317,7 @@ is386: movl $2,%ecx # set MP
movl %eax,%gs
lldt %ax
cld # gcc2 wants the direction flag cleared at all times
- pushl %eax # fake return address
+ pushl $0 # fake return address for unwinder
#ifdef CONFIG_SMP
movb ready, %cl
movb $1, ready