diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-07-11 07:32:14 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-11 07:32:14 -0400 |
commit | fe27932052aebf77ac5f3e73962825d2aeb457a0 (patch) | |
tree | cba999c9ca5176ca5326efa2de92df7d38f1847a /arch/sh/kernel/sh_ksyms_32.c | |
parent | 9f14b84afda297d301b81a5bcbd65e83d7b02034 (diff) |
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>
Diffstat (limited to 'arch/sh/kernel/sh_ksyms_32.c')
-rw-r--r-- | arch/sh/kernel/sh_ksyms_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c index 5b81116046c1..cec610888e28 100644 --- a/arch/sh/kernel/sh_ksyms_32.c +++ b/arch/sh/kernel/sh_ksyms_32.c | |||
@@ -107,7 +107,7 @@ EXPORT_SYMBOL(clear_user_page); | |||
107 | #endif | 107 | #endif |
108 | 108 | ||
109 | #ifdef CONFIG_MCOUNT | 109 | #ifdef CONFIG_MCOUNT |
110 | EXPORT_SYMBOL(mcount); | 110 | DECLARE_EXPORT(mcount); |
111 | #endif | 111 | #endif |
112 | EXPORT_SYMBOL(csum_partial); | 112 | EXPORT_SYMBOL(csum_partial); |
113 | EXPORT_SYMBOL(csum_partial_copy_generic); | 113 | EXPORT_SYMBOL(csum_partial_copy_generic); |