From: Jiri Slaby Date: Thu, 31 Aug 2017 12:16:53 +0000 (+0200) Subject: x86/idt: Remove superfluous ALIGNment X-Git-Tag: v5.15~10542^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04b5de3a8f54fad8bb838827de85381bc6a5bc61;p=platform%2Fkernel%2Flinux-starfive.git x86/idt: Remove superfluous ALIGNment Commit 87e81786b13b ("x86/idt: Move early IDT setup out of 32-bit asm") switched early_ignore_irq to use ENTRY. ENTRY aligns the code, so there is no need for one more ALIGN right before the function. And add one \n after the function to separate it from the data. Signed-off-by: Jiri Slaby Signed-off-by: Thomas Gleixner Cc: Denys Vlasenko Cc: Peter Zijlstra Cc: Brian Gerst Cc: Steven Rostedt Cc: Linus Torvalds Cc: Borislav Petkov Cc: Andy Lutomirski Cc: Josh Poimboeuf Link: http://lkml.kernel.org/r/20170831121653.28917-1-jslaby@suse.cz --- diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index a615a5e..9ed3074 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -465,7 +465,6 @@ early_idt_handler_common: ENDPROC(early_idt_handler_common) /* This is the default interrupt "handler" :-) */ - ALIGN ENTRY(early_ignore_irq) cld #ifdef CONFIG_PRINTK @@ -502,6 +501,7 @@ hlt_loop: hlt jmp hlt_loop ENDPROC(early_ignore_irq) + __INITDATA .align 4 GLOBAL(early_recursion_flag)