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

[XenPPC] [pushed] [ppc] correctly handle count>1 grant table ops



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID c3b447a822264d95747e7723fc99bfa16b993096
# Parent  cf43edb4abe5691e0214d7ca354591cdede8c3a4
[ppc] correctly handle count>1 grant table ops
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

diff -r cf43edb4abe5 -r c3b447a82226 arch/powerpc/platforms/xen/hcall.c
--- a/arch/powerpc/platforms/xen/hcall.c        Wed May 24 15:00:05 2006 -0500
+++ b/arch/powerpc/platforms/xen/hcall.c        Wed May 24 15:12:41 2006 -0500
@@ -165,7 +165,7 @@ int HYPERVISOR_grant_table_op(unsigned i
                return -ENOSYS;
        }

-       rc = xencomm_create(op, argsize, &desc, GFP_KERNEL);
+       rc = xencomm_create(op, count * argsize, &desc, GFP_KERNEL);
        if (rc)
                return rc;




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


 


Rackspace

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