projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f14b84
)
sh: Use DECLARE_EXPORT() for mcount symbol export.
author
Paul Mundt
<lethal@linux-sh.org>
Sat, 11 Jul 2009 11:32:14 +0000
(20:32 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 11 Jul 2009 11:32:14 +0000
(20:32 +0900)
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>
arch/sh/kernel/sh_ksyms_32.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/sh_ksyms_32.c
b/arch/sh/kernel/sh_ksyms_32.c
index
5b81116
..
cec6108
100644
(file)
--- 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);
#endif
#ifdef CONFIG_MCOUNT
-
EXPORT_SYMBOL
(mcount);
+
DECLARE_EXPORT
(mcount);
#endif
EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);