Skip to contentSkip to conversation

gcov: explicitly include xen/init.h

PATCH In review Wei Liu 2 participants 2 messages Dec 5, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 gcov: explicitly include xen/init.h

Travis discovered arm32 gcov code failed to build because __init was not defined.

Include init.h explicitly to fix the issue.

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Julien Grall <[email protected]>

---
 xen/common/gcov/gcov_base.c | 2 ++
 1 file changed, 2 insertions(+)
xen/common/gcov/gcov_base.c +2 -0
index e5065db..34a0183 100644
@@ -15,6 +15,8 @@
 
 #include "gcov.h"
 
+#include <xen/init.h>
+
 /*
  * __gcov_init is called by gcc-generated constructor code for each object
  * file compiled with -fprofile-arcs.
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel