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-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] tmem: Fix build after public header sync.
From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
Date: Fri, 20 May 2011 16:05:11 +0100
Delivery-date: Fri, 20 May 2011 08:08:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] tmem: Fix build after public header sync., Xen patchbot-linux-2 . 6 . 18-xen <=