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>
This commit is contained in:
Paul Mundt 2009-07-11 20:32:14 +09:00
parent 9f14b84afd
commit fe27932052
1 changed files with 1 additions and 1 deletions

View File

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