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

George G. Davis
2019-06-03T14:34:28Z

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@mentor.com> 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