projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e24b36
)
gcov: explicitly include xen/init.h
author
Wei Liu
<wei.liu2@citrix.com>
Mon, 5 Dec 2016 13:49:14 +0000
(13:49 +0000)
committer
Wei Liu
<wei.liu2@citrix.com>
Mon, 5 Dec 2016 13:56:43 +0000
(13:56 +0000)
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.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/gcov/gcov_base.c
patch
|
blob
|
history
diff --git
a/xen/common/gcov/gcov_base.c
b/xen/common/gcov/gcov_base.c
index e5065db5abd90ac0891e0c5516ea147013c38589..34a0183521c33603e811703dec9d8549b994971e 100644
(file)
--- 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.