Skip to content

Commit fe27932

Browse files
committed
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: Paul Mundt <lethal@linux-sh.org>
1 parent 9f14b84 commit fe27932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/kernel/sh_ksyms_32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ EXPORT_SYMBOL(clear_user_page);
107107
#endif
108108

109109
#ifdef CONFIG_MCOUNT
110-
EXPORT_SYMBOL(mcount);
110+
DECLARE_EXPORT(mcount);
111111
#endif
112112
EXPORT_SYMBOL(csum_partial);
113113
EXPORT_SYMBOL(csum_partial_copy_generic);

0 commit comments

Comments
 (0)