From c93bd0e6ea2a0295f56abd4e58cbb0761f299f0d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 17 Jun 2009 07:14:02 +0100 Subject: tmem: fix 32-on-64 support This implicitly required coverting the tmem_op structure from anonymous to standard struct/union sub-fields, and extending the get-fields.sh helper script to deal with typedef-ed guest handles used as types of translated compound type fields. Signed-off-by: Jan Beulich --- tools/libxc/xc_tmem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/libxc/xc_tmem.c') diff --git a/tools/libxc/xc_tmem.c b/tools/libxc/xc_tmem.c index ba618ef98c..8d8141c07a 100644 --- a/tools/libxc/xc_tmem.c +++ b/tools/libxc/xc_tmem.c @@ -43,11 +43,11 @@ int xc_tmem_control(int xc, op.cmd = TMEM_CONTROL; op.pool_id = pool_id; - op.subop = subop; - op.cli_id = cli_id; - op.arg1 = arg1; - op.arg2 = arg2; - op.buf.p = buf; + op.u.ctrl.subop = subop; + op.u.ctrl.cli_id = cli_id; + op.u.ctrl.arg1 = arg1; + op.u.ctrl.arg2 = arg2; + op.u.ctrl.buf.p = buf; if (subop == TMEMC_LIST) { if ((arg1 != 0) && (lock_pages(buf, arg1) != 0)) -- cgit v1.2.3