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

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



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

 


Rackspace

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