Skip to contentSkip to conversation

fix perfc_incrc build issue

PATCH New Ben Thomas 1 participant 1 message Feb 22, 2007

lore
Share & tools
lore

Ben Thomas

author
#0 lore raw

PATCH 1/1 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.

Signature · 5 lines
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
[email protected]                            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.

xen/include/xen/perfc.h +1 -0
diff -r 07e7ff7fa1c0 xen/include/xen/perfc.h
@@ -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
[email protected]
http://lists.xensource.com/xen-devel