Travis discovered arm32 gcov code failed to build because __init was not defined.
Include init.h explicitly to fix the issue. Signed-off-by: Wei Liu <wei.l...@citrix.com> --- Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: George Dunlap <george.dun...@eu.citrix.com> Cc: Ian Jackson <ian.jack...@eu.citrix.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Tim Deegan <t...@xen.org> Cc: Wei Liu <wei.l...@citrix.com> Cc: Julien Grall <julien.gr...@arm.com> --- xen/common/gcov/gcov_base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/common/gcov/gcov_base.c b/xen/common/gcov/gcov_base.c index e5065db..34a0183 100644 --- a/xen/common/gcov/gcov_base.c +++ b/xen/common/gcov/gcov_base.c @@ -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. -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel