diff options
author | Steven Hand <steven@xensource.com> | 2006-08-28 21:57:34 +0100 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2006-08-28 21:57:34 +0100 |
commit | 6c35586274021b376b0985008c6af0e3dfc21ffd (patch) | |
tree | b808acdbc75a7366287f588f91b3a6c151a0dab7 /xen/common/sysctl.c | |
parent | 23d1a29f838615a593355258bbea77c75a6180d0 (diff) | |
download | xen-6c35586274021b376b0985008c6af0e3dfc21ffd.tar.gz xen-6c35586274021b376b0985008c6af0e3dfc21ffd.tar.bz2 xen-6c35586274021b376b0985008c6af0e3dfc21ffd.zip |
Fix hypervisor build with performance counters after -unstable
cset 11257:86d26e6ec89b
Signed-off-by: Steve Dobbelstein <steved@us.ibm.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r-- | xen/common/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index 90312ce71c..9f991f39b3 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -121,10 +121,10 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) break; #ifdef PERF_COUNTERS - case XEN_SYSCTL_perfccontrol: + case XEN_SYSCTL_perfc_op: { - extern int perfc_control(xen_sysctl_perfccontrol_t *); - ret = perfc_control(&op->u.perfccontrol); + extern int perfc_control(xen_sysctl_perfc_op_t *); + ret = perfc_control(&op->u.perfc_op); if ( copy_to_guest(u_sysctl, op, 1) ) ret = -EFAULT; } |