Skip to content

Commit

Permalink
ftrace: default to tilegx if ARCH=tile is specified
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lu authored and cmetcalf-tilera committed Dec 5, 2013
1 parent dc1ccc4 commit 2d8eeda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/recordmcount.pl
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ sub check_objcopy
} 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;
Expand Down

0 comments on commit 2d8eeda

Please sign in to comment.