projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8233aff
)
x86/boot: Annotate verify_cpu() as a callable function
author
Josh Poimboeuf
<jpoimboe@redhat.com>
Tue, 19 Sep 2017 02:43:34 +0000
(21:43 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:26:13 +0000
(14:26 +0100)
commit
e93db75a0054b23a874a12c63376753544f3fe9e
upstream.
verify_cpu() is a callable function. Annotate it 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/293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/verify_cpu.S
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/verify_cpu.S
b/arch/x86/kernel/verify_cpu.S
index
014ea59
..
3d3c2f7
100644
(file)
--- 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)