Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe279320 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Use DECLARE_EXPORT() for mcount symbol export.



The function prototype for mcount is not defined if we are not building
with ftrace support enabled, so use DECLARE_EXPORT() to stub one in.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 9f14b84a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ EXPORT_SYMBOL(clear_user_page);
#endif

#ifdef CONFIG_MCOUNT
EXPORT_SYMBOL(mcount);
DECLARE_EXPORT(mcount);
#endif
EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);