diff mbox series

[15/16] recordmcount.pl: drop blackin and tile support

Message ID 20180314145219.2055160-1-arnd@arndb.de
State Accepted
Commit 82831598a621f1ec2e6136fdb11805c7917159ca
Headers show
Series [01/16] mn10300: Remove the architecture | expand

Commit Message

Arnd Bergmann March 14, 2018, 2:52 p.m. UTC
These two architectures are getting removed, so we no longer
need the special cases.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 scripts/recordmcount.pl | 8 --------
 1 file changed, 8 deletions(-)

-- 
2.9.0

Comments

Steven Rostedt March 15, 2018, 8:42 p.m. UTC | #1
On Wed, 14 Mar 2018 15:52:00 +0100
Arnd Bergmann <arnd@arndb.de> wrote:

> These two architectures are getting removed, so we no longer

> need the special cases.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> ---


Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>


-- Steve

>  scripts/recordmcount.pl | 8 --------

>  1 file changed, 8 deletions(-)

> 

> diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl

> index 2033af758173..c74ecc6504e8 100755

> --- a/scripts/recordmcount.pl

> +++ b/scripts/recordmcount.pl

> @@ -368,14 +368,6 @@ if ($arch eq "x86_64") {

>  } elsif ($arch eq "microblaze") {

>      # Microblaze calls '_mcount' instead of plain 'mcount'.

>      $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$";

> -} elsif ($arch eq "blackfin") {

> -    $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";

> -    $mcount_adjust = -4;

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

>  } else {

>      die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";

>  }
diff mbox series

Patch

diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 2033af758173..c74ecc6504e8 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -368,14 +368,6 @@  if ($arch eq "x86_64") {
 } elsif ($arch eq "microblaze") {
     # Microblaze calls '_mcount' instead of plain 'mcount'.
     $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s_mcount\$";
-} elsif ($arch eq "blackfin") {
-    $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
-    $mcount_adjust = -4;
-} 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;
 } else {
     die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";
 }