diff options
author | Josh Poimboeuf <[email protected]> | 2017-09-18 21:43:34 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-09-28 09:39:03 +0200 |
commit | e93db75a0054b23a874a12c63376753544f3fe9e (patch) | |
tree | 7fe7443a35e5d917edfa612a381eedf7583de9da | |
parent | 015a2ea5478680fc5216d56b7ff306f2a74efaf9 (diff) |
x86/boot: Annotate verify_cpu() as a callable function
verify_cpu() is a callable function. Annotate it as such.
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/kernel/verify_cpu.S | 3 |
1 files changed, 2 insertions, 1 deletions
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) |