From: Tony Lu Date: Thu, 5 Dec 2013 20:36:54 +0000 (-0500) Subject: ftrace: default to tilegx if ARCH=tile is specified X-Git-Tag: firefly_0821_release~176^2~4824^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d8eedad9233d4771fb3134f50e5c5a09e28352c;p=firefly-linux-kernel-4.4.55.git ftrace: default to tilegx if ARCH=tile is specified This matches the existing behavior in arch/tile/Makefile for defconfig. Reported-by: fengguang.wu@intel.com Acked-by: Steven Rostedt Signed-off-by: Tony Lu Signed-off-by: Chris Metcalf --- diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index d0da66396f62..91280b82da08 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -364,7 +364,8 @@ if ($arch eq "x86_64") { } elsif ($arch eq "blackfin") { $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; $mcount_adjust = -4; -} elsif ($arch eq "tilegx") { +} elsif ($arch eq "tilegx" || $arch eq "tile") { + # Default to the newer TILE-Gx architecture if only "tile" is given. $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$"; $type = ".quad"; $alignment = 8;