aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2017-09-18 22:43:33 -0400
committerIngo Molnar <mingo@kernel.org>2017-09-28 03:39:03 -0400
commit015a2ea5478680fc5216d56b7ff306f2a74efaf9 (patch)
tree8e2ab7b46094f950518a9ca754a08127a501f148
parenta8b88e84d124bc92c4808e72b8b8c0e0bb538630 (diff)
x86/head: Fix head ELF function annotations
These functions aren't callable C-type functions, so don't annotate them as such. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Juergen Gross <jgross@suse.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/36eb182738c28514f8bf95e403d89b6413a88883.1505764066.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--arch/x86/kernel/head_64.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index afb0a1e22d41..edacd579d504 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -234,7 +234,7 @@ ENTRY(secondary_startup_64)
234 pushq %rax # target address in negative space 234 pushq %rax # target address in negative space
235 lretq 235 lretq
236.Lafter_lret: 236.Lafter_lret:
237ENDPROC(secondary_startup_64) 237END(secondary_startup_64)
238 238
239#include "verify_cpu.S" 239#include "verify_cpu.S"
240 240
@@ -277,7 +277,7 @@ ENTRY(early_idt_handler_array)
277 i = i + 1 277 i = i + 1
278 .fill early_idt_handler_array + i*EARLY_IDT_HANDLER_SIZE - ., 1, 0xcc 278 .fill early_idt_handler_array + i*EARLY_IDT_HANDLER_SIZE - ., 1, 0xcc
279 .endr 279 .endr
280ENDPROC(early_idt_handler_array) 280END(early_idt_handler_array)
281 281
282early_idt_handler_common: 282early_idt_handler_common:
283 /* 283 /*
@@ -320,7 +320,7 @@ early_idt_handler_common:
32020: 32020:
321 decl early_recursion_flag(%rip) 321 decl early_recursion_flag(%rip)
322 jmp restore_regs_and_iret 322 jmp restore_regs_and_iret
323ENDPROC(early_idt_handler_common) 323END(early_idt_handler_common)
324 324
325 __INITDATA 325 __INITDATA
326 326