]> xenbits.xensource.com Git - xen.git/commitdiff
SVM: convert entry point annotations
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Feb 2024 07:16:09 +0000 (08:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Feb 2024 07:16:09 +0000 (08:16 +0100)
Use the generic framework from xen/linkage.h.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/svm/entry.S

index c52528fed4cf8ae5a677d23b33ff91bcf8bcc8af..60b0b00ed0afc1b492e95e34e46bb3d0c876e131 100644 (file)
@@ -24,7 +24,7 @@
 #include <asm/asm_defns.h>
 #include <asm/page.h>
 
-ENTRY(svm_asm_do_resume)
+FUNC(svm_asm_do_resume)
         GET_CURRENT(bx)
 .Lsvm_do_resume:
         call svm_intr_assist
@@ -132,7 +132,7 @@ __UNLIKELY_END(nsvm_hap)
          * to safely resolve any Spectre-v1 concerns in the above logic.
          */
         stgi
-GLOBAL(svm_stgi_label)
+LABEL(svm_stgi_label, 0)
         call svm_vmexit_handler
         jmp  .Lsvm_do_resume
 
@@ -140,6 +140,4 @@ GLOBAL(svm_stgi_label)
         sti
         call do_softirq
         jmp  .Lsvm_do_resume
-
-        .type svm_asm_do_resume, @function
-        .size svm_asm_do_resume, . - svm_asm_do_resume
+END(svm_asm_do_resume)