Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1724567

[PATCH 5/8] x86/boot: Annotate verify_cpu() as a callable function

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 5/8] x86/boot: Annotate verify_cpu() as a callable function
Date 2017-08-31 22:30 +0200
Message-ID <ukEga-217-19@gated-at.bofh.it> (permalink)
References <ukEg9-217-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


verify_cpu() is a callable function.  Annotate it as such.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
---
 arch/x86/kernel/verify_cpu.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/kernel/verify_cpu.S b/arch/x86/kernel/verify_cpu.S
index 014ea59aa153..3d3c2f71f617 100644
--- a/arch/x86/kernel/verify_cpu.S
+++ b/arch/x86/kernel/verify_cpu.S
@@ -33,7 +33,7 @@
 #include <asm/cpufeatures.h>
 #include <asm/msr-index.h>
 
-verify_cpu:
+ENTRY(verify_cpu)
 	pushf				# Save caller passed flags
 	push	$0			# Kill any dangerous flags
 	popf
@@ -139,3 +139,4 @@ verify_cpu:
 	popf				# Restore caller passed flags
 	xorl %eax, %eax
 	ret
+ENDPROC(verify_cpu)
-- 
2.13.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] x86/asm: Add unwind hint annotations to head code Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 5/8] x86/boot: Annotate verify_cpu() as a callable function Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 1/8] objtool: Don't report end of section error after an empty unwind hint Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 6/8] x86/xen: Fix xen head ELF annotations Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200
  [PATCH 3/8] x86/head: Remove unused 'bad_address' code Josh Poimboeuf <jpoimboe@redhat.com> - 2017-08-31 22:30 +0200

csiph-web