Re: [PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-21 Thread Paul Burton
Hi Masahiro, On Tue, Aug 21, 2018 at 11:49:48AM +0900, Masahiro Yamada wrote: > The code diff looks good to me. > > Reviewed-by: Masahiro Yamada Thanks :) > > A straightforward approach to the per-arch header is to make use of > > asm-generic to provide a default empty header & adjust

Re: [PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-21 Thread Paul Burton
Hi Masahiro, On Tue, Aug 21, 2018 at 11:49:48AM +0900, Masahiro Yamada wrote: > The code diff looks good to me. > > Reviewed-by: Masahiro Yamada Thanks :) > > A straightforward approach to the per-arch header is to make use of > > asm-generic to provide a default empty header & adjust

Re: [PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-20 Thread Masahiro Yamada
Hi Paul, The code diff looks good to me. Reviewed-by: Masahiro Yamada Just comments in the commit description. See below. 2018-08-21 7:36 GMT+09:00 Paul Burton : > We have a need to override the definition of > barrier_before_unreachable() for MIPS, which means we either need to add >

Re: [PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-20 Thread Masahiro Yamada
Hi Paul, The code diff looks good to me. Reviewed-by: Masahiro Yamada Just comments in the commit description. See below. 2018-08-21 7:36 GMT+09:00 Paul Burton : > We have a need to override the definition of > barrier_before_unreachable() for MIPS, which means we either need to add >

[PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-20 Thread Paul Burton
We have a need to override the definition of barrier_before_unreachable() for MIPS, which means we either need to add architecture-specific code into linux/compiler-gcc.h or we need to allow the architecture to provide a header that can define the macro before the generic definition. The latter

[PATCH v9 1/2] kbuild: Allow arch-specific asm/compiler.h

2018-08-20 Thread Paul Burton
We have a need to override the definition of barrier_before_unreachable() for MIPS, which means we either need to add architecture-specific code into linux/compiler-gcc.h or we need to allow the architecture to provide a header that can define the macro before the generic definition. The latter