From: Paul Mundt Date: Tue, 13 Oct 2009 07:31:08 +0000 (+0900) Subject: sh: Don't profile return_address(). X-Git-Tag: upstream/snapshot3+hdmi~16124^2~62^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8afde7f40577b80d30aa8abcdee74c76a4b800a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sh: Don't profile return_address(). This adds return_address.c to the -pg exclusion list, as this is the building block for CALLER_ADDRx we do not want to profile this. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 18a1e27..f879120 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile @@ -9,6 +9,8 @@ ifdef CONFIG_FUNCTION_TRACER CFLAGS_REMOVE_ftrace.o = -pg endif +CFLAGS_REMOVE_return_address.o = -pg + obj-y := debugtraps.o dumpstack.o idle.o io.o io_generic.o irq.o \ machvec.o nmi_debug.o process_$(BITS).o ptrace_$(BITS).o \ return_address.o \