Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-13 Thread Nick Desaulniers
On Wed, Sep 12, 2018 at 9:03 PM Miguel Ojeda wrote: > > Hi again, > > On Wed, Sep 12, 2018 at 6:19 AM, Miguel Ojeda > wrote: > > > > I will do a bigger one tomorrow or so and see if there are any > > important differences. Regardless of what we do, I will send the > > __naked patches separately

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-13 Thread Nick Desaulniers
On Wed, Sep 12, 2018 at 9:03 PM Miguel Ojeda wrote: > > Hi again, > > On Wed, Sep 12, 2018 at 6:19 AM, Miguel Ojeda > wrote: > > > > I will do a bigger one tomorrow or so and see if there are any > > important differences. Regardless of what we do, I will send the > > __naked patches separately

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-12 Thread Miguel Ojeda
Hi again, On Wed, Sep 12, 2018 at 6:19 AM, Miguel Ojeda wrote: > > I will do a bigger one tomorrow or so and see if there are any > important differences. Regardless of what we do, I will send the > __naked patches separately as well (requested by Nick on GitHub). So I did a comparison with a

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-12 Thread Miguel Ojeda
Hi again, On Wed, Sep 12, 2018 at 6:19 AM, Miguel Ojeda wrote: > > I will do a bigger one tomorrow or so and see if there are any > important differences. Regardless of what we do, I will send the > __naked patches separately as well (requested by Nick on GitHub). So I did a comparison with a

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-11 Thread Miguel Ojeda
Hi Arnd, Nick, Stefan, On Mon, Sep 10, 2018 at 2:14 PM, Arnd Bergmann wrote: > On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: >> >> ARM32 arch code uses the __naked attribute. This has previously been >> defined in include/linux/compiler-gcc.h, which is no longer included >> for Clang.

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-11 Thread Miguel Ojeda
Hi Arnd, Nick, Stefan, On Mon, Sep 10, 2018 at 2:14 PM, Arnd Bergmann wrote: > On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: >> >> ARM32 arch code uses the __naked attribute. This has previously been >> defined in include/linux/compiler-gcc.h, which is no longer included >> for Clang.

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Nick Desaulniers
On Mon, Sep 10, 2018 at 5:14 AM Arnd Bergmann wrote: > > On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: > > > > ARM32 arch code uses the __naked attribute. This has previously been > > defined in include/linux/compiler-gcc.h, which is no longer included > > for Clang. Define __naked for

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Nick Desaulniers
On Mon, Sep 10, 2018 at 5:14 AM Arnd Bergmann wrote: > > On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: > > > > ARM32 arch code uses the __naked attribute. This has previously been > > defined in include/linux/compiler-gcc.h, which is no longer included > > for Clang. Define __naked for

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Arnd Bergmann
On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: > > ARM32 arch code uses the __naked attribute. This has previously been > defined in include/linux/compiler-gcc.h, which is no longer included > for Clang. Define __naked for Clang. Conservatively add all attributes > previously used (and

Re: [PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Arnd Bergmann
On Mon, Sep 10, 2018 at 8:05 AM Stefan Agner wrote: > > ARM32 arch code uses the __naked attribute. This has previously been > defined in include/linux/compiler-gcc.h, which is no longer included > for Clang. Define __naked for Clang. Conservatively add all attributes > previously used (and

[PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Stefan Agner
ARM32 arch code uses the __naked attribute. This has previously been defined in include/linux/compiler-gcc.h, which is no longer included for Clang. Define __naked for Clang. Conservatively add all attributes previously used (and supported by Clang). This fixes compile errors when building ARM32

[PATCH] include/linux/compiler-clang.h: define __naked

2018-09-10 Thread Stefan Agner
ARM32 arch code uses the __naked attribute. This has previously been defined in include/linux/compiler-gcc.h, which is no longer included for Clang. Define __naked for Clang. Conservatively add all attributes previously used (and supported by Clang). This fixes compile errors when building ARM32