Re: [PATCH 2/2] ARM: xscale: fix gcc-8 build

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > We use a hack in xscale-cp0.c to allow building it for ARMv4 while > also using ARMv5TE and iWMMXt specific inline assembly, by > adding a top-level asm statement. > > Unfortunately that hack no longer works with gcc-8, since it will > revert back to the

[PATCH 2/2] ARM: xscale: fix gcc-8 build

2018-02-02 Thread Arnd Bergmann
We use a hack in xscale-cp0.c to allow building it for ARMv4 while also using ARMv5TE and iWMMXt specific inline assembly, by adding a top-level asm statement. Unfortunately that hack no longer works with gcc-8, since it will revert back to the normal architecture. The recommended way of handling