WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] fix perfc_incrc build issue

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix perfc_incrc build issue
From: Ben Thomas <bthomas@xxxxxxxxxxxxxxx>
Date: Thu, 22 Feb 2007 17:53:24 -0500
Delivery-date: Thu, 22 Feb 2007 14:52:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070212)
Fix perfc_incrc compilation problems caused by recent change.
Compiling with perfc_arrays=y will currently fail.

Simply solved by explicit inclusion of smp.h include, which
was formerly implicitly included.

Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)

--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                   Lowell, MA 01851
Fix perfc_incrc compilation problems caused by recent change.

Simply solved by explicit inclusion of smp.h include, which
was formerly implicitly included.

Signed-off-by: Ben Thomas (ben@xxxxxxxxxxxxxxx)


diff -r 07e7ff7fa1c0 xen/include/xen/perfc.h
--- a/xen/include/xen/perfc.h   Thu Feb 22 17:13:00 2007 -0500
+++ b/xen/include/xen/perfc.h   Thu Feb 22 17:30:47 2007 -0500
@@ -6,6 +6,7 @@
 
 #include <xen/lib.h>
 #include <asm/atomic.h>
+#include <xen/smp.h>
 
 /* 
  * NOTE: new counters must be defined in perfc_defn.h
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix perfc_incrc build issue, Ben Thomas <=