summaryrefslogtreecommitdiff
path: root/arch/x86/entry/vdso/vsgx.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/entry/vdso/vsgx.S')
-rw-r--r--arch/x86/entry/vdso/vsgx.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/entry/vdso/vsgx.S b/arch/x86/entry/vdso/vsgx.S
index 99dafac992e2..37a3d4c02366 100644
--- a/arch/x86/entry/vdso/vsgx.S
+++ b/arch/x86/entry/vdso/vsgx.S
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/linkage.h>
-#include <asm/export.h>
#include <asm/errno.h>
#include <asm/enclu.h>
@@ -81,7 +80,7 @@ SYM_FUNC_START(__vdso_sgx_enter_enclave)
pop %rbx
leave
.cfi_def_cfa %rsp, 8
- ret
+ RET
/* The out-of-line code runs with the pre-leave stack frame. */
.cfi_def_cfa %rbp, 16