On Thu, Aug 9, 2018 at 7:45 PM Paul Burton <paul.burton@xxxxxxxx> wrote: > > Include an arch-specific asm/compiler.h and allow for it to define a > custom version of barrier_before_unreachable(), which is needed to > workaround several issues on the MIPS architecture. > > This patch includes an effectively empty asm-generic implementation of > asm/compiler.h for all architectures except alpha, arm, arm64, and mips > (which already have an asm/compiler.h) and leaves the architecture > specifics to a further patch. > > Signed-off-by: Paul Burton <paul.burton@xxxxxxxx> > [jhogan@xxxxxxxxxx: Forward port and use asm/compiler.h instead of > asm/compiler-gcc.h] > Signed-off-by: James Hogan <jhogan@xxxxxxxxxx> > Reviewed-by: Paul Burton <paul.burton@xxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: linux-arch@xxxxxxxxxxxxxxx > Cc: linux-mips@xxxxxxxxxxxxxx > Cc: linux-um@xxxxxxxxxxxxxxxxxxx Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>