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


Groups > linux.kernel > #1734609 > unrolled thread

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

Started byJosh Poimboeuf <jpoimboe@redhat.com>
First post2017-09-19 04:50 +0200
Last post2017-09-19 04:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 5/8] x86/boot: Annotate verify_cpu() as a callable function Josh Poimboeuf <jpoimboe@redhat.com> - 2017-09-19 04:50 +0200

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

FromJosh Poimboeuf <jpoimboe@redhat.com>
Date2017-09-19 04:50 +0200
Subject[PATCH v2 5/8] x86/boot: Annotate verify_cpu() as a callable function
Message-ID<urgLL-6I2-5@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web