scripts: remove AVR32 support from checkstack.pl
authorHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Sun, 26 Feb 2017 12:19:06 +0000 (13:19 +0100)
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Mon, 1 May 2017 07:27:15 +0000 (09:27 +0200)
The AVR32 architecture support has been removed from the kernel, hence
remove the related bits from checkstack.pl script.

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Signed-off-by: HÃ¥vard Skinnemoen <hskinnemoen@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
scripts/checkstack.pl

index 3033be701e9a24c5c8c090ce6f453df070e8cb23..9d37aa4faf5ce8ce2719c71921ee7ab0eabc22a1 100755 (executable)
@@ -12,7 +12,6 @@
 #      sh64 port by Paul Mundt
 #      Random bits by Matt Mackall <mpm@selenic.com>
 #      M68k port by Geert Uytterhoeven and Andreas Schwab
-#      AVR32 port by Haavard Skinnemoen (Atmel)
 #      AArch64, PARISC ports by Kyle McMartin
 #      sparc port by Martin Habets <errandir_news@mph.eclipse.co.uk>
 #
@@ -51,10 +50,6 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
        } elsif ($arch eq 'arm') {
                #c0008ffc:      e24dd064        sub     sp, sp, #100    ; 0x64
                $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o;
-       } elsif ($arch eq 'avr32') {
-               #8000008a:       20 1d           sub sp,4
-               #80000ca8:       fa cd 05 b0     sub sp,sp,1456
-               $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o;
        } elsif ($arch =~ /^x86(_64)?$/ || $arch =~ /^i[3456]86$/) {
                #c0105234:       81 ec ac 05 00 00       sub    $0x5ac,%esp
                # or