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

[Xen-devel] [PATCH] Fix set cpu_mask of xentrace


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
  • Date: Thu, 19 Oct 2006 17:05:12 +0800
  • Delivery-date: Thu, 19 Oct 2006 02:05:44 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbzXTGe6ebvPahdQwGKKEojrPx9GwAAAsFw
  • Thread-topic: [PATCH] Fix set cpu_mask of xentrace

Should be a typo. 

diff -r ff3d704073ad xen/common/trace.c
--- a/xen/common/trace.c        Wed Oct 18 02:00:13 2006
+++ b/xen/common/trace.c        Wed Oct 18 16:57:03 2006
@@ -187,7 +187,7 @@
         tbc->size       = opt_tbuf_size * PAGE_SIZE;
         break;
     case XEN_SYSCTL_TBUFOP_set_cpu_mask:
-        cpumask_to_xenctl_cpumap(&tbc->cpu_mask, &tb_cpu_mask);
+        xenctl_cpumap_to_cpumask(&tb_cpu_mask, &tbc->cpu_mask);
         break;
     case XEN_SYSCTL_TBUFOP_set_evt_mask:
         tb_event_mask = tbc->evt_mask;

Thanks, 
Xiaowei 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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