scripts/checkstack.pl: remove ia64 support
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 19 Dec 2023 12:49:57 +0000 (20:49 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 20:22:26 +0000 (12:22 -0800)
Patch series "Modify some code about checkstack".

This patch (of 5):

After commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"),
the ia64 port has been removed from the kernel, so also remove the ia64
specific bits from the checkstack.pl script.

Link: https://lkml.kernel.org/r/20231219125008.23007-1-yangtiezhu@loongson.cn
Link: https://lkml.kernel.org/r/20231219125008.23007-2-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkstack.pl

index 7d3de23..6ae2e62 100755 (executable)
@@ -8,7 +8,6 @@
 #      Original idea maybe from Keith Owens
 #      s390 port and big speedup by Arnd Bergmann <arnd@bergmann-dalldorf.de>
 #      Mips port by Juan Quintela <quintela@mandrakesoft.com>
-#      IA64 port via Andreas Dilger
 #      Arm port by Holger Schurig
 #      Random bits by Matt Mackall <mpm@selenic.com>
 #      M68k port by Geert Uytterhoeven and Andreas Schwab
@@ -69,9 +68,6 @@ my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
                #    2f60:    48 81 ec e8 05 00 00       sub    $0x5e8,%rsp
                $re = qr/^.*[as][du][db]    \$(0x$x{1,8}),\%(e|r)sp$/o;
                $dre = qr/^.*[as][du][db]    (%.*),\%(e|r)sp$/o;
-       } elsif ($arch eq 'ia64') {
-               #e0000000044011fc:       01 0f fc 8c     adds r12=-384,r12
-               $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o;
        } elsif ($arch eq 'm68k') {
                #    2b6c:       4e56 fb70       linkw %fp,#-1168
                #  1df770:       defc ffe4       addaw #-28,%sp