[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-e93db75a0054b23a874a12c63376753544f3fe9e@git.kernel.org>
Date: Thu, 28 Sep 2017 03:56:31 -0700
From: tip-bot for Josh Poimboeuf <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: boris.ostrovsky@...cle.com, jgross@...e.com, peterz@...radead.org,
hpa@...or.com, luto@...nel.org, jslaby@...e.cz, tglx@...utronix.de,
jpoimboe@...hat.com, mingo@...nel.org,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: [tip:core/objtool] x86/boot: Annotate verify_cpu() as a callable
function
Commit-ID: e93db75a0054b23a874a12c63376753544f3fe9e
Gitweb: https://git.kernel.org/tip/e93db75a0054b23a874a12c63376753544f3fe9e
Author: Josh Poimboeuf <jpoimboe@...hat.com>
AuthorDate: Mon, 18 Sep 2017 21:43:34 -0500
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 28 Sep 2017 09:39:03 +0200
x86/boot: Annotate verify_cpu() as a callable function
verify_cpu() is a callable function. Annotate it as such.
Signed-off-by: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Cc: Jiri Slaby <jslaby@...e.cz>
Cc: Juergen Gross <jgross@...e.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
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 014ea59..3d3c2f7 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)
Powered by blists - more mailing lists