diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-08-13 08:51:12 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-09-13 16:33:54 -0400 |
commit | d3488649dcd23b7a6e63895274ec69f80e92d4ed (patch) | |
tree | f28c89dd664928ad55cfd549980950df22bc7725 | |
parent | cbb0006def57d96601b61f14b924a8f65835cbc5 (diff) |
um: Fix CONFIG_GCOV for modules.
Explicitly export symbols so modpost doesn't complain.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/kernel/gmon_syms.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/um/kernel/gmon_syms.c b/arch/um/kernel/gmon_syms.c index 1bf61266da8e..f138a4a0db99 100644 --- a/arch/um/kernel/gmon_syms.c +++ b/arch/um/kernel/gmon_syms.c | |||
@@ -7,3 +7,10 @@ | |||
7 | 7 | ||
8 | extern void __bb_init_func(void *) __attribute__((weak)); | 8 | extern void __bb_init_func(void *) __attribute__((weak)); |
9 | EXPORT_SYMBOL(__bb_init_func); | 9 | EXPORT_SYMBOL(__bb_init_func); |
10 | |||
11 | extern void __gcov_init(void *) __attribute__((weak)); | ||
12 | EXPORT_SYMBOL(__gcov_init); | ||
13 | extern void __gcov_merge_add(void *, unsigned int) __attribute__((weak)); | ||
14 | EXPORT_SYMBOL(__gcov_merge_add); | ||
15 | extern void __gcov_exit(void) __attribute__((weak)); | ||
16 | EXPORT_SYMBOL(__gcov_exit); | ||