Re: [PATCH] ftrace: default to tilegx if ARCH=tile is specified

2013-12-05 Thread Steven Rostedt
On Thu, 5 Dec 2013 15:36:54 -0500
Tony Lu  wrote:

> This matches the existing behavior in arch/tile/Makefile for defconfig.
> 

If you want to pull this in through the tile tree, you can add my:

Acked-by: Steven Rostedt 

Or I can take it. Either way is fine with me.

-- Steve

> Reported-by: fengguang...@intel.com
> Signed-off-by: Tony Lu 
> Signed-off-by: Chris Metcalf 
> ---
> Chris Metcalf will push this change via the tile tree.
> 
>  scripts/recordmcount.pl | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ftrace: default to tilegx if ARCH=tile is specified

2013-12-05 Thread Tony Lu
This matches the existing behavior in arch/tile/Makefile for defconfig.

Reported-by: fengguang...@intel.com
Signed-off-by: Tony Lu 
Signed-off-by: Chris Metcalf 
---
Chris Metcalf will push this change via the tile tree.

 scripts/recordmcount.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/