]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
tmem: Fix build after public header sync.
authorKeir Fraser <keir@xen.org>
Fri, 20 May 2011 14:53:56 +0000 (15:53 +0100)
committerKeir Fraser <keir@xen.org>
Fri, 20 May 2011 14:53:56 +0000 (15:53 +0100)
Signed-off-by: Keir Fraser <keir@xen.org>
mm/tmem.c

index e10acbed9dd5d85d81059a912c1978efe5d1ba9b..c07132dd5a0e11abc79657701f6d2c6863df49df 100644 (file)
--- a/mm/tmem.c
+++ b/mm/tmem.c
@@ -16,7 +16,8 @@ int xen_tmem_op(u32 tmem_cmd, u32 tmem_pool, u64 object, u32 index,
 
        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 xen_tmem_new_pool(uint32_t tmem_cmd, uint64_t uuid_lo,
        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;
 }