WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

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

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] correctly handle count>1 grant table ops
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Wed, 24 May 2006 15:53:51 -0500
Delivery-date: Wed, 24 May 2006 13:53:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] correctly handle count>1 grant table ops, Hollis Blanchard <=