From 3f508e911eb1d43171eb11bdb7a44e7140454bb0 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Tue, 24 Oct 2017 12:25:53 -0700 Subject: [PATCH] x86: fix CONFIG_DEBUG_INFO build error This doesn't have any register operands and needs a size suffix. Fixes: #4480 Signed-off-by: Andrew Boie --- arch/x86/core/swap.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/core/swap.S b/arch/x86/core/swap.S index f0b2de156b7..ce49996ec63 100644 --- a/arch/x86/core/swap.S +++ b/arch/x86/core/swap.S @@ -464,7 +464,7 @@ SECTION_FUNC(TEXT, _x86_thread_entry_wrapper) pop %ecx push $0 /* Null return address */ #elif defined(CONFIG_GDB_INFO) || defined(CONFIG_DEBUG_INFO) - mov $0, (%esp) /* zero initialEFLAGS location */ + movl $0, (%esp) /* zero initialEFLAGS location */ #endif jmp *%edi #endif