When enabling lock profile, it fail to finish build. I have no idea why this will be called in setting lock profiling. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> diff -r c6bde42c8845 xen/common/sysctl.c --- a/xen/common/sysctl.c Thu Apr 12 14:01:27 2012 +0100 +++ b/xen/common/sysctl.c Fri Apr 13 22:05:15 2012 +0800 @@ -156,7 +156,6 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysc 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;