gcov: explicitly include xen/init.h
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.
Signed-off-by Wei Liu <[email protected]>
---
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
@@ -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
Quoted 6 lines · Wei Liu
Travis discovered arm32 gcov code failed to build because
__initwas not defined.Include
init.hexplicitly to fix the issue.Signed-off-by Wei Liu <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel