diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 03:20:36 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 03:20:36 -0400 |
commit | 694f94f263bee30ada18bab178b98a0d10917e68 (patch) | |
tree | 3f5a210a77dba2c138db918bbff52e65b172f2a3 /arch | |
parent | 0803d540db06f53acd2fabf1347d5b665218f14a (diff) |
sh: FTRACE renamed to FUNCTION_TRACER.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/Kconfig | 2 | ||||
-rw-r--r-- | arch/sh/boot/compressed/Makefile_32 | 2 | ||||
-rw-r--r-- | arch/sh/kernel/entry-common.S | 4 | ||||
-rw-r--r-- | arch/sh/kernel/sh_ksyms_32.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index cb2c87df70ce..80119b3398e7 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -24,7 +24,7 @@ config SUPERH32 | |||
24 | select HAVE_KPROBES | 24 | select HAVE_KPROBES |
25 | select HAVE_KRETPROBES | 25 | select HAVE_KRETPROBES |
26 | select HAVE_ARCH_TRACEHOOK | 26 | select HAVE_ARCH_TRACEHOOK |
27 | select HAVE_FTRACE | 27 | select HAVE_FUNCTION_TRACER |
28 | 28 | ||
29 | config SUPERH64 | 29 | config SUPERH64 |
30 | def_bool y if CPU_SH5 | 30 | def_bool y if CPU_SH5 |
diff --git a/arch/sh/boot/compressed/Makefile_32 b/arch/sh/boot/compressed/Makefile_32 index 301e6d503256..b96a055b053e 100644 --- a/arch/sh/boot/compressed/Makefile_32 +++ b/arch/sh/boot/compressed/Makefile_32 | |||
@@ -23,7 +23,7 @@ IMAGE_OFFSET := $(shell /bin/bash -c 'printf "0x%08x" \ | |||
23 | 23 | ||
24 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) | 24 | LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) |
25 | 25 | ||
26 | ifeq ($(CONFIG_FTRACE),y) | 26 | ifeq ($(CONFIG_FUNCTION_TRACER),y) |
27 | ORIG_CFLAGS := $(KBUILD_CFLAGS) | 27 | ORIG_CFLAGS := $(KBUILD_CFLAGS) |
28 | KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) | 28 | KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) |
29 | endif | 29 | endif |
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 1a5cf9dd82de..5b7efc4016fa 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S | |||
@@ -372,7 +372,7 @@ syscall_exit: | |||
372 | 7: .long do_syscall_trace_enter | 372 | 7: .long do_syscall_trace_enter |
373 | 8: .long do_syscall_trace_leave | 373 | 8: .long do_syscall_trace_leave |
374 | 374 | ||
375 | #ifdef CONFIG_FTRACE | 375 | #ifdef CONFIG_FUNCTION_TRACER |
376 | .align 2 | 376 | .align 2 |
377 | .globl _mcount | 377 | .globl _mcount |
378 | .type _mcount,@function | 378 | .type _mcount,@function |
@@ -414,4 +414,4 @@ skip_trace: | |||
414 | ftrace_stub: | 414 | ftrace_stub: |
415 | rts | 415 | rts |
416 | nop | 416 | nop |
417 | #endif /* CONFIG_FTRACE */ | 417 | #endif /* CONFIG_FUNCTION_TRACER */ |
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c index d998f4c795be..92ae5e6c099e 100644 --- a/arch/sh/kernel/sh_ksyms_32.c +++ b/arch/sh/kernel/sh_ksyms_32.c | |||
@@ -134,7 +134,7 @@ EXPORT_SYMBOL(flush_dcache_page); | |||
134 | EXPORT_SYMBOL(clear_user_page); | 134 | EXPORT_SYMBOL(clear_user_page); |
135 | #endif | 135 | #endif |
136 | 136 | ||
137 | #ifdef CONFIG_FTRACE | 137 | #ifdef CONFIG_FUNCTION_TRACER |
138 | EXPORT_SYMBOL(mcount); | 138 | EXPORT_SYMBOL(mcount); |
139 | #endif | 139 | #endif |
140 | EXPORT_SYMBOL(csum_partial); | 140 | EXPORT_SYMBOL(csum_partial); |