]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
plat/common/x86: Use `uk/asm.h` defined `ENTRY` for syscall entry
authorSergiu Moga <sergiu@unikraft.io>
Sat, 4 Nov 2023 14:04:42 +0000 (16:04 +0200)
committerSergiu Moga <sergiu@unikraft.io>
Sat, 25 Nov 2023 11:07:01 +0000 (13:07 +0200)
Deprecate locally defined `ENTRY` macro in favor of the more generally
available, equivalent macro defined in `uk/asm.h`.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
plat/common/x86/syscall.S

index b809f57210b7b5b4493f3d4319ccdc9ebf9cc3bb..af4edc987ae953fb355f9d43c884f78d9046ca16 100644 (file)
@@ -34,8 +34,6 @@
 #include <uk/arch/lcpu.h>
 #include <uk/asm/cfi.h>
 
-#define ENTRY(X) .globl X ; X :
-
 ENTRY(_ukplat_syscall)
        .cfi_startproc simple
        .cfi_def_cfa rsp, 0