summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-15 07:32:44 +0400
committerSteven Rostedt <rostedt@goodmis.org>2010-10-15 07:32:44 +0400
commitcf4db2597ae93b60efc0a7a4ec08690b75d629b1 (patch)
tree12ee3585d7a65291032b3258000523d6386c7d2e /Makefile
parentc28d5077f8d79bfce1e3f88db2e261cf2b6473dc (diff)
downloadlinux-cf4db2597ae93b60efc0a7a4ec08690b75d629b1.tar.xz
ftrace: Rename config option HAVE_C_MCOUNT_RECORD to HAVE_C_RECORDMCOUNT
The config option used by archs to let the build system know that the C version of the recordmcount works for said arch is currently called HAVE_C_MCOUNT_RECORD which enables BUILD_C_RECORDMCOUNT. To be more consistent with the name that all archs may use, it has been renamed to HAVE_C_RECORDMCOUNT. This will be less confusing since we are building a C recordmcount and not a mcount_record. Suggested-by: Ingo Molnar <mingo@elte.hu> Cc: <linux-arch@vger.kernel.org> Cc: Michal Marek <mmarek@suse.cz> Cc: linux-kbuild@vger.kernel.org Cc: John Reiser <jreiser@bitwagon.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0dd3a8d93132..c2362c273006 100644
--- a/Makefile
+++ b/Makefile
@@ -569,7 +569,7 @@ endif
ifdef CONFIG_FUNCTION_TRACER
KBUILD_CFLAGS += -pg
ifdef CONFIG_DYNAMIC_FTRACE
- ifdef CONFIG_HAVE_C_MCOUNT_RECORD
+ ifdef CONFIG_HAVE_C_RECORDMCOUNT
BUILD_C_RECORDMCOUNT := y
export BUILD_C_RECORDMCOUNT
endif