diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-21 03:43:45 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-21 03:43:45 -0400 |
commit | 9d2b1f81dd93b198e12bca8120afec4a7b609b06 (patch) | |
tree | 8091aa3e15c8d1d15f8109be7222b4b68b6a7f73 /arch/sh/kernel/sh_ksyms_32.c | |
parent | 3d58695edbfac785161bf282dc11fd42a483d6c9 (diff) |
sh: ftrace support.
This adds support for ftrace to SH. This only includes CONFIG_FTRACE,
and does not handle dynamic ftrace presently.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c index 6e1b1c271658..d917b7b4042b 100644 --- a/arch/sh/kernel/sh_ksyms_32.c +++ b/arch/sh/kernel/sh_ksyms_32.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <asm/delay.h> | 16 | #include <asm/delay.h> |
17 | #include <asm/tlbflush.h> | 17 | #include <asm/tlbflush.h> |
18 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
19 | #include <asm/ftrace.h> | ||
19 | 20 | ||
20 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); | 21 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); |
21 | extern struct hw_interrupt_type no_irq_type; | 22 | extern struct hw_interrupt_type no_irq_type; |
@@ -133,6 +134,9 @@ EXPORT_SYMBOL(__flush_purge_region); | |||
133 | EXPORT_SYMBOL(clear_user_page); | 134 | EXPORT_SYMBOL(clear_user_page); |
134 | #endif | 135 | #endif |
135 | 136 | ||
137 | #ifdef CONFIG_FTRACE | ||
138 | EXPORT_SYMBOL(mcount); | ||
139 | #endif | ||
136 | EXPORT_SYMBOL(csum_partial); | 140 | EXPORT_SYMBOL(csum_partial); |
137 | EXPORT_SYMBOL(csum_partial_copy_generic); | 141 | EXPORT_SYMBOL(csum_partial_copy_generic); |
138 | #ifdef CONFIG_IPV6 | 142 | #ifdef CONFIG_IPV6 |