[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix build error when enabling lock profile



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@xxxxxxxxx>

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;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.