Commit 2d8eedad9233d4771fb3134f50e5c5a09e28352c

Authored by Tony Lu
Committed by Chris Metcalf
1 parent dc1ccc4815

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>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

scripts/recordmcount.pl
... ... @@ -364,7 +364,8 @@
364 364 } elsif ($arch eq "blackfin") {
365 365 $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
366 366 $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.
368 369 $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
369 370 $type = ".quad";
370 371 $alignment = 8;