From: Thomas Meyer Date: Sun, 13 Aug 2017 12:51:12 +0000 (+0200) Subject: um: Fix CONFIG_GCOV for modules. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3488649dcd23b7a6e63895274ec69f80e92d4ed;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git um: Fix CONFIG_GCOV for modules. Explicitly export symbols so modpost doesn't complain. Signed-off-by: Thomas Meyer Signed-off-by: Richard Weinberger --- 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 @@ 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);