Re: [RFC PATCH v6 017/104] KVM: TDX: Add C wrapper functions for SEAMCALLs to the TDX module

From: Xiaoyao Li
Date: Fri May 06 2022 - 04:57:01 EST


On 5/6/2022 2:14 AM, isaku.yamahata@xxxxxxxxx wrote:
diff --git a/arch/x86/virt/vmx/tdx/seamcall.S b/arch/x86/virt/vmx/tdx/seamcall.S
index 8df7a16f7685..b4fc8182e1cf 100644
--- a/arch/x86/virt/vmx/tdx/seamcall.S
+++ b/arch/x86/virt/vmx/tdx/seamcall.S
@@ -50,3 +50,4 @@ SYM_FUNC_START(__seamcall)
FRAME_END
ret
SYM_FUNC_END(__seamcall)
+EXPORT_SYMBOL_GPL(__seamcall)

It cannot compile, we need

#include <asm/export.h>