Re: [RFC PATCH v6 017/104] KVM: TDX: Add C wrapper functions for SEAMCALLs to the TDX module
From: Isaku Yamahata
Date: Fri May 06 2022 - 17:35:44 EST
On Fri, May 06, 2022 at 04:56:52PM +0800,
Xiaoyao Li <xiaoyao.li@xxxxxxxxx> wrote:
> 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>
Thanks, will fix it.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>