Skip to content

Commit

Permalink
sh: Use DECLARE_EXPORT() for mcount symbol export.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jul 11, 2009
1 parent 9f14b84 commit fe27932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/sh_ksyms_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe27932

Please sign in to comment.