x86/64: Fix the build.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
Keir Fraser committed 2007-10-24 14:10:01 +01:00
1 parent 32d2b4dc6d
commit eab26d8a91
1 file changed
+4 -2
+4 -2
View File
@@ -298,15 +298,17 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xen_platform_op_t) u_xenpf_op)
struct vcpu *v;
struct xenctl_cpumap ctlmap;
cpumask_t cpumap;
XEN_GUEST_HANDLE(uint8_t) cpumap_bitmap;
XEN_GUEST_HANDLE(uint64_t) idletimes;
ret = -ENOSYS;
if ( cpufreq_controller != FREQCTL_dom0_kernel )
break;
memset(&ctlmap, 0, sizeof(ctlmap));
ctlmap.nr_cpus = op->u.getidletime.cpumap_nr_cpus;
ctlmap.bitmap.p = op->u.getidletime.cpumap_bitmap.p;
guest_from_compat_handle(cpumap_bitmap,
op->u.getidletime.cpumap_bitmap);
ctlmap.bitmap.p = cpumap_bitmap.p; /* handle -> handle_64 conversion */
xenctl_cpumap_to_cpumask(&cpumap, &ctlmap);
guest_from_compat_handle(idletimes, op->u.getidletime.idletime);
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.