diff options
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 2 | ||||
-rw-r--r-- | include/asm-sparc64/ftrace.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index b80d982a29c6..49d3ea50c247 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -112,7 +112,7 @@ EXPORT_SYMBOL(__write_trylock); | |||
112 | EXPORT_SYMBOL(smp_call_function); | 112 | EXPORT_SYMBOL(smp_call_function); |
113 | #endif /* CONFIG_SMP */ | 113 | #endif /* CONFIG_SMP */ |
114 | 114 | ||
115 | #if defined(CONFIG_MCOUNT) | 115 | #ifdef CONFIG_MCOUNT |
116 | EXPORT_SYMBOL(_mcount); | 116 | EXPORT_SYMBOL(_mcount); |
117 | #endif | 117 | #endif |
118 | 118 | ||
diff --git a/include/asm-sparc64/ftrace.h b/include/asm-sparc64/ftrace.h index f76a40a338bb..d27716cd38c1 100644 --- a/include/asm-sparc64/ftrace.h +++ b/include/asm-sparc64/ftrace.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _ASM_SPARC64_FTRACE | 1 | #ifndef _ASM_SPARC64_FTRACE |
2 | #define _ASM_SPARC64_FTRACE | 2 | #define _ASM_SPARC64_FTRACE |
3 | 3 | ||
4 | #ifdef CONFIG_FTRACE | 4 | #ifdef CONFIG_MCOUNT |
5 | #define MCOUNT_ADDR ((long)(_mcount)) | 5 | #define MCOUNT_ADDR ((long)(_mcount)) |
6 | #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ | 6 | #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ |
7 | 7 | ||