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

[Xen-changelog] [linux-2.6.18-xen] tmem: Fix build after public header sync.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1305903236 -3600
# Node ID 5df7af6c2cc294d76670b3d40ec400a27f007b1f
# Parent  dcb88be878d48c60f887a51c8c7c661c6f9b191c
tmem: Fix build after public header sync.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r dcb88be878d4 -r 5df7af6c2cc2 mm/tmem.c
--- a/mm/tmem.c Fri May 20 15:53:38 2011 +0100
+++ b/mm/tmem.c Fri May 20 15:53:56 2011 +0100
@@ -16,7 +16,8 @@
 
        op.cmd = tmem_cmd;
        op.pool_id = tmem_pool;
-       op.u.gen.object = object;
+       op.u.gen.oid[0] = object;
+        op.u.gen.oid[1] = op.u.gen.oid[2] = 0;
        op.u.gen.index = index;
        op.u.gen.tmem_offset = tmem_offset;
        op.u.gen.pfn_offset = pfn_offset;
@@ -33,9 +34,9 @@
        int rc = 0;
 
        op.cmd = tmem_cmd;
-       op.u.new.uuid[0] = uuid_lo;
-       op.u.new.uuid[1] = uuid_hi;
-       op.u.new.flags = flags;
+       op.u.creat.uuid[0] = uuid_lo;
+       op.u.creat.uuid[1] = uuid_hi;
+       op.u.creat.flags = flags;
        rc = HYPERVISOR_tmem_op(&op);
        return rc;
 }

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


 


Rackspace

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