From: "Jan Beulich" Subject: Re: [PATCH v2 01/16] tmem: fix public head file Date: Fri, 06 Dec 2013 10:03:08 +0000 Message-ID: <52A1AEEC020000780010AC91@nat28.tlf.novell.com> References: <1386037157-27261-1-git-send-email-bob.liu@oracle.com> <1386037157-27261-2-git-send-email-bob.liu@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VosFd-0004Ig-0C for xen-devel@lists.xenproject.org; Fri, 06 Dec 2013 10:03:13 +0000 In-Reply-To: <1386037157-27261-2-git-send-email-bob.liu@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: konrad.wilk@oracle.com Cc: xen-devel@lists.xenproject.org, Bob Liu , keir@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 03.12.13 at 03:19, Bob Liu wrote: > Commit 006a687ba4de74d7933c09b43872abc19f126c63 dropped typedef > tmem_cli_mfn_t > from public tmem.h which may cause some problem. > This patch added tmem_cli_mfn_t back with #ifdef __XEN_INTERFACE_VERSION__ > around. > > Signed-off-by: Bob Liu Konrad, any chance of you ack-ing at least this one, so we can get the public header in proper shape again for 4.4? Jan > --- > xen/include/public/tmem.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/xen/include/public/tmem.h b/xen/include/public/tmem.h > index dd685ee..5eb2fb4 100644 > --- a/xen/include/public/tmem.h > +++ b/xen/include/public/tmem.h > @@ -95,6 +95,9 @@ > > > #ifndef __ASSEMBLY__ > +#if __XEN_INTERFACE_VERSION__ < 0x00040400 > +typedef xen_pfn_t tmem_cli_mfn_t; > +#endif > typedef XEN_GUEST_HANDLE(char) tmem_cli_va_t; > struct tmem_op { > uint32_t cmd; > -- > 1.7.10.4