Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tony Lu and committed by
Chris Metcalf
2d8eedad dc1ccc48

+2 -1
+2 -1
scripts/recordmcount.pl
··· 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;