From: Stefano Stabellini Subject: Re: [PATCH v2 4/5] xen: introduce XEN_GUEST_HANDLE_PARAM Date: Fri, 10 Aug 2012 14:22:14 +0100 Message-ID: References: <1344600612-10815-4-git-send-email-stefano.stabellini@eu.citrix.com> <5025265C02000078000942B4@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5025265C02000078000942B4@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: "Tim Deegan (3P)" , "xen-devel@lists.xensource.com" , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 10 Aug 2012, Jan Beulich wrote: > >>> On 10.08.12 at 14:10, Stefano Stabellini wrote: > > --- a/xen/arch/x86/x86_64/platform_hypercall.c > > +++ b/xen/arch/x86/x86_64/platform_hypercall.c > > @@ -38,6 +38,7 @@ CHECK_pf_pcpu_version; > > > > #define COMPAT > > #define _XEN_GUEST_HANDLE(t) XEN_GUEST_HANDLE(t) > > +#define _XEN_GUEST_HANDLE_PARAM(t) XEN_GUEST_HANDLE(t) > > Was this ... > > > typedef int ret_t; > > > > #include "../platform_hypercall.c" > > --- a/xen/common/compat/multicall.c > > +++ b/xen/common/compat/multicall.c > > @@ -24,6 +24,7 @@ DEFINE_XEN_GUEST_HANDLE(multicall_entry_compat_t); > > #define call compat_call > > #define do_multicall(l, n) compat_multicall(_##l, n) > > #define _XEN_GUEST_HANDLE(t) XEN_GUEST_HANDLE(t) > > +#define _XEN_GUEST_HANDLE_PARAM(t) XEN_GUEST_HANDLE(t) > > > ... and this merely added mechanically? Looking at the rest > of the patch I don't see why these would be needed. Or would > these simply belong into the next patch? They do belong to the next patch, but if I put them in there they would be lost in the middle of a very long series of otherwise mechanical substitutions, so I thought it would be a better idea to put them in this patch. And I can see it worked :)