From: Ian Campbell Subject: Re: [PATCH linux v3] arm: xen: implement multicall hypercall support. Date: Fri, 9 May 2014 16:07:41 +0100 Message-ID: <1399648061.561.47.camel@kazak.uk.xensource.com> References: <1397739444-31407-1-git-send-email-ian.campbell@citrix.com> <1397739457-25541-1-git-send-email-ian.campbell@citrix.com> <1398340990.18537.342.camel@kazak.uk.xensource.com> <1398677229.29700.11.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: julien.grall@linaro.org, tim@xen.org, xen-devel@lists.xen.org, David Vrabel , Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-09 at 15:56 +0100, Stefano Stabellini wrote: > On Mon, 28 Apr 2014, Ian Campbell wrote: > > On Fri, 2014-04-25 at 18:17 +0100, Stefano Stabellini wrote: > > > > > diff --git a/arch/arm64/xen/hypercall.S b/arch/arm64/xen/hypercall.S > > > > > index 531342e..8bbe940 100644 > > > > > --- a/arch/arm64/xen/hypercall.S > > > > > +++ b/arch/arm64/xen/hypercall.S > > > > > @@ -80,6 +80,7 @@ HYPERCALL2(memory_op); > > > > > HYPERCALL2(physdev_op); > > > > > HYPERCALL3(vcpu_op); > > > > > HYPERCALL1(tmem_op); > > > > > +HYPERCALL2(multicall); > > > > > > > > > > ENTRY(privcmd_call) > > > > > mov x16, x0 > > > > > > You need to add an EXPORT_SYMBOL_GPL for it in arch/arm/xen/enlighten.c. > > > > HYPERVISOR_multicall is not currently exported for x86 either. I think > > we should go with this existing patch and sort out the exports > > consistently across arch/* in a followup. > > HYPERVISOR_multicall doesn't need to be exported on x86 because it is > defined as a static inline function. Oh, of course. Here is the fix. Feel free to fold this into the existing commit if you prefer. 8<------------------------- >From 40542140ca071039b2c448e53d7536a3b3134028 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 9 May 2014 16:06:21 +0100 Subject: [PATCH] arm: xen: export HYPERVISOR_multicall to modules. "arm: xen: implement multicall hypercall support." forgot to do this. Signed-off-by: Ian Campbell --- arch/arm/xen/enlighten.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index b96723e..488ecdb 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -350,4 +350,5 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op); EXPORT_SYMBOL_GPL(HYPERVISOR_physdev_op); EXPORT_SYMBOL_GPL(HYPERVISOR_vcpu_op); EXPORT_SYMBOL_GPL(HYPERVISOR_tmem_op); +EXPORT_SYMBOL_GPL(HYPERVISOR_multicall); EXPORT_SYMBOL_GPL(privcmd_call); -- 1.7.10.4