From: Hollis Blanchard Subject: Re: [XenPPC] [PATCH 0 of 2] management tools portability v3 Date: Mon, 05 Jun 2006 16:46:29 -0500 Message-ID: <1149543989.19111.80.camel@basalt.austin.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, xen-ppc-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, 2006-06-05 at 16:18 -0500, Hollis Blanchard wrote: > These patches allow me to use 32-bit libxc (and xend and xm) with a > 64-bit PPC hypervisor. There are two additional changes needed in Linux. First, include/xen/public/privcmd.h must now #include , since we're using '__u64'. (I'm not sure how to represent that in a patch.) Second: diff -r 30876a100239 drivers/xen/privcmd/privcmd.c --- a/drivers/xen/privcmd/privcmd.c Wed May 24 16:29:08 2006 -0400 +++ b/drivers/xen/privcmd/privcmd.c Mon Jun 05 16:39:38 2006 -0500 @@ -169,7 +169,7 @@ static int privcmd_ioctl(struct inode *i #endif privcmd_mmapbatch_t m; struct vm_area_struct *vma = NULL; - unsigned long __user *p; + xen_pfn_t __user *p; unsigned long addr, mfn; int i; Signed-off-by: Hollis Blanchard -- Hollis Blanchard IBM Linux Technology Center