Commit 271c511db9d37d6797745adb1f151a8bd2838c6f

Authored by Johannes Berg
Committed by Paul Mackerras
1 parent 39ed2fe62c

[POWERPC] make checkstack work with ARCH=powerpc

This patch adds 'powerpc' architecture support to checkstack.pl.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

scripts/checkstack.pl
... ... @@ -62,6 +62,8 @@
62 62 } elsif ($arch eq 'ppc64') {
63 63 #XXX
64 64 $re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o;
  65 + } elsif ($arch eq 'powerpc') {
  66 + $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
65 67 } elsif ($arch =~ /^s390x?$/) {
66 68 # 11160: a7 fb ff 60 aghi %r15,-160
67 69 $re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o;