Use the generic framework from xen/linkage.h.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
.text
.code64
-ENTRY(do_suspend_lowlevel)
+FUNC(do_suspend_lowlevel)
push %rbp
push %rbx
push %r12
*
* Everything else, including the stack, needs restoring.
*/
-ENTRY(s3_resume)
+LABEL(s3_resume)
lgdt boot_gdtr(%rip)
mov saved_cr0(%rip), %rax
pop %rbx
pop %rbp
ret
+END(do_suspend_lowlevel)
.data
.align 16
saved_ssp: .quad 0
#endif
-GLOBAL(saved_magic)
- .long 0x9abcdef0
+ASM_INT(saved_magic, 0x9abcdef0)