Skip to content

Commit

Permalink
x86/idt: Remove superfluous ALIGNment
Browse files Browse the repository at this point in the history
Commit 87e8178 ("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 <jslaby@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: http://lkml.kernel.org/r/20170831121653.28917-1-jslaby@suse.cz
  • Loading branch information
Jiri Slaby authored and Thomas Gleixner committed Aug 31, 2017
1 parent 594a30f commit 04b5de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -502,6 +501,7 @@ hlt_loop:
hlt
jmp hlt_loop
ENDPROC(early_ignore_irq)

__INITDATA
.align 4
GLOBAL(early_recursion_flag)
Expand Down

0 comments on commit 04b5de3

Please sign in to comment.