]> xenbits.xensource.com Git - xen.git/commitdiff
xentrace: update comments
authorOlaf Hering <olaf@aepfle.de>
Fri, 25 Mar 2011 08:58:04 +0000 (08:58 +0000)
committerOlaf Hering <olaf@aepfle.de>
Fri, 25 Mar 2011 08:58:04 +0000 (08:58 +0000)
Fix a typo, remove redundant comment.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen/common/trace.c

index 29a0753b747ae15a3854eff42bb0e4a14c7d9423..70c8b67733fa54628281dd9eb779bf78867a09b5 100644 (file)
@@ -196,12 +196,11 @@ static int alloc_trace_bufs(unsigned int pages)
     t_info->tbuf_size = pages;
 
     /*
-     * Now share the pages to xentrace can map them, and write them in
+     * Now share the pages so xentrace can map them, and write them in
      * the global t_info structure.
      */
     for_each_online_cpu(cpu)
     {
-        /* Share pages so that xentrace can map them. */
         void *rawbuf = per_cpu(t_bufs, cpu);
         struct page_info *p = virt_to_page(rawbuf);
         uint32_t mfn = virt_to_mfn(rawbuf);