Skip to content

Commit 2d8eeda

Browse files
Tony Lucmetcalf-tilera
authored andcommitted
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 <rostedt@goodmis.org> Signed-off-by: Tony Lu <zlu@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
1 parent dc1ccc4 commit 2d8eeda

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/recordmcount.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ sub check_objcopy
364364
} elsif ($arch eq "blackfin") {
365365
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
366366
$mcount_adjust = -4;
367-
} elsif ($arch eq "tilegx") {
367+
} elsif ($arch eq "tilegx" || $arch eq "tile") {
368+
# Default to the newer TILE-Gx architecture if only "tile" is given.
368369
$mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
369370
$type = ".quad";
370371
$alignment = 8;

0 commit comments

Comments
 (0)