Re: [RFC][PATCH] Makefile: Fix checkstack.pl arm64 wrong or unknown architecture

From: George G. Davis
Date: Mon Jun 03 2019 - 10:38:10 EST


Hello Masahiro,

On Sat, Jun 01, 2019 at 11:09:15AM +0900, Masahiro Yamada wrote:
> On Sat, Jun 1, 2019 at 2:45 AM George G. Davis <george_davis@xxxxxxxxxx> wrote:
> > > Following this pattern, does this work for you?
> > >
> > > diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
> > > index 122aef5e4e14..371bd17a4983 100755
> > > --- a/scripts/checkstack.pl
> > > +++ b/scripts/checkstack.pl
> > > @@ -46,7 +46,7 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
> > > $x = "[0-9a-f]"; # hex character
> > > $xs = "[0-9a-f ]"; # hex character or space
> > > $funcre = qr/^$x* <(.*)>:$/;
> > > - if ($arch eq 'aarch64') {
> > > + if ($arch =~ '^(aarch|arm)64$') {
> >
> > Yes, that works, thanks!
> >
> > Will you submit a fix or would you like me to resubmit with the above suggested
> > fix?
>
> Please send v2.

Done:

https://patchwork.kernel.org/patch/10972965/

Thanks!

>
> Thanks.
>
> --
> Best Regards
> Masahiro Yamada

--
Regards,
George