Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118256
b: refs/heads/master
c: 694f94f
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Oct 31, 2008
1 parent 37490ed commit ae5cdd8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0803d540db06f53acd2fabf1347d5b665218f14a
refs/heads/master: 694f94f263bee30ada18bab178b98a0d10917e68
2 changes: 1 addition & 1 deletion trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ config SUPERH32
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_ARCH_TRACEHOOK
select HAVE_FTRACE
select HAVE_FUNCTION_TRACER

config SUPERH64
def_bool y if CPU_SH5
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/boot/compressed/Makefile_32
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ IMAGE_OFFSET := $(shell /bin/bash -c 'printf "0x%08x" \

LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)

ifeq ($(CONFIG_FTRACE),y)
ifeq ($(CONFIG_FUNCTION_TRACER),y)
ORIG_CFLAGS := $(KBUILD_CFLAGS)
KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
endif
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sh/kernel/entry-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ syscall_exit:
7: .long do_syscall_trace_enter
8: .long do_syscall_trace_leave

#ifdef CONFIG_FTRACE
#ifdef CONFIG_FUNCTION_TRACER
.align 2
.globl _mcount
.type _mcount,@function
Expand Down Expand Up @@ -414,4 +414,4 @@ skip_trace:
ftrace_stub:
rts
nop
#endif /* CONFIG_FTRACE */
#endif /* CONFIG_FUNCTION_TRACER */
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/sh_ksyms_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ EXPORT_SYMBOL(flush_dcache_page);
EXPORT_SYMBOL(clear_user_page);
#endif

#ifdef CONFIG_FTRACE
#ifdef CONFIG_FUNCTION_TRACER
EXPORT_SYMBOL(mcount);
#endif
EXPORT_SYMBOL(csum_partial);
Expand Down

0 comments on commit ae5cdd8

Please sign in to comment.