Fix x86_64 build.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
smh22@firebug.cl.cam.ac.uk committed 2005-11-26 10:24:08 +01:00
1 parent 10e8ebd5bb
commit 03d49c4c35
1 file changed
+2 -2
+2 -2
View File
@@ -190,7 +190,8 @@ long arch_memory_op(int op, void *arg)
if ( copy_from_user(&xmml, arg, sizeof(xmml)) )
return -EFAULT;
for ( v = RDWR_MPT_VIRT_START; v != RDWR_MPT_VIRT_END; v += 1 << 21 )
for ( i = 0, v = RDWR_MPT_VIRT_START; v != RDWR_MPT_VIRT_END;
i++, v += 1 << 21 )
{
l3e = l4e_to_l3e(idle_pg_table[l4_table_offset(v)])[
l3_table_offset(v)];
@@ -204,7 +205,6 @@ long arch_memory_op(int op, void *arg)
break;
if ( put_user(mfn, &xmml.extent_start[i]) )
return -EFAULT;
i++;
}
if ( put_user(i, &((struct xen_machphys_mfn_list *)arg)->nr_extents) )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.