]> xenbits.xensource.com Git - xen.git/commitdiff
fix build error when enabling lock profile
authorYang Zhang <yang.z.zhang@Intel.com>
Tue, 17 Apr 2012 07:30:27 +0000 (08:30 +0100)
committerYang Zhang <yang.z.zhang@Intel.com>
Tue, 17 Apr 2012 07:30:27 +0000 (08:30 +0100)
Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/sysctl.c

index 0cbebb16d84ece79a41f69eba61f8b0f3d8be9e0..ea6827886ad6a932474e64a424190e8830f12c81 100644 (file)
@@ -156,7 +156,6 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl)
         if ( ret )
             break;
 
-        ret = perfc_control(&op->u.perfc_op);
         ret = spinlock_profile_control(&op->u.lockprof_op);
         if ( copy_to_guest(u_sysctl, op, 1) )
             ret = -EFAULT;