All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] um: Fix CONFIG_GCOV for modules.
@ 2017-08-13 12:51 Thomas Meyer
  0 siblings, 0 replies; only message in thread
From: Thomas Meyer @ 2017-08-13 12:51 UTC (permalink / raw)
  To: user-mode-linux-devel, linux-kernel; +Cc: Thomas Meyer

Explicitly export symbols so modpost doesn't complain.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
 arch/um/kernel/gmon_syms.c | 7 +++++++
 1 file changed, 7 insertions(+)

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);
-- 
2.13.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-13 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-13 12:51 [PATCH] um: Fix CONFIG_GCOV for modules Thomas Meyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.