[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [XenPPC] [PATCH 0 of 2] management tools portability v3



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 <linux/types.h>, 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 <hollisb@xxxxxxxxxx>

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.