Skip to content

Commit

Permalink
um: Fix CONFIG_GCOV for modules.
Browse files Browse the repository at this point in the history
Explicitly export symbols so modpost doesn't complain.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Thomas Meyer authored and Richard Weinberger committed Sep 13, 2017
1 parent cbb0006 commit d348864
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/um/kernel/gmon_syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@

extern void __bb_init_func(void *) __attribute__((weak));
EXPORT_SYMBOL(__bb_init_func);

extern void __gcov_init(void *) __attribute__((weak));
EXPORT_SYMBOL(__gcov_init);
extern void __gcov_merge_add(void *, unsigned int) __attribute__((weak));
EXPORT_SYMBOL(__gcov_merge_add);
extern void __gcov_exit(void) __attribute__((weak));
EXPORT_SYMBOL(__gcov_exit);

0 comments on commit d348864

Please sign in to comment.