From 839401aa88046106da64808ea5f2186d8204a7aa Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:52:16 -0800 Subject: [PATCH] [PATCH] Fix x86-64 boot problem From: Andi Kleen 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. --- arch/x86_64/kernel/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index b1e491b2a2c5d..3acb6da4b4ce7 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S @@ -436,7 +436,7 @@ ret_from_intr: popq %rdi cli subl $1,%gs:pda_irqcount -#ifdef CONFIG_KGDB +#ifdef CONFIG_DEBUG_INFO movq RBP(%rdi),%rbp #endif leaq ARGOFFSET(%rdi),%rsp -- 2.53.0