Commit 839401aa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix x86-64 boot problem

From: Andi Kleen <ak@muc.de>

Fix a bug introduced with the last merge that prevented booting with
CONFIG_DEBUG_INFO on on x86-64.  It would corrupt registers in interrupts.
This has hit a few people, so I would consider it as a critical fix.
parent 8d849f5b
...@@ -436,7 +436,7 @@ ret_from_intr: ...@@ -436,7 +436,7 @@ ret_from_intr:
popq %rdi popq %rdi
cli cli
subl $1,%gs:pda_irqcount subl $1,%gs:pda_irqcount
#ifdef CONFIG_KGDB #ifdef CONFIG_DEBUG_INFO
movq RBP(%rdi),%rbp movq RBP(%rdi),%rbp
#endif #endif
leaq ARGOFFSET(%rdi),%rsp leaq ARGOFFSET(%rdi),%rsp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment