selftests/powerpc: Fix copyloops build since Power4 assembler change
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Apr 4 02:03:46 AEST 2018
On Tue, 2018-04-03 at 15:53:18 UTC, Michael Ellerman wrote:
> The recent commit 15a3204d24a3 ("powerpc/64s: Set assembler machine
> type to POWER4") set the machine type in our ASFLAGS when building the
> kernel, and removed some ".machine power4" directives from various asm
> files.
>
> This broke the selftests build on old toolchains (that don't assume
> Power4), because we build the kernel source files into the selftests
> using different ASFLAGS.
>
> The fix is simply to add -mpower4 to the selftest ASFLAGS as well.
>
> Fixes: 15a3204d24a3 ("powerpc/64s: Set assembler machine type to POWER4")
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/b6f534d1a642a9b6263fd52df30806
cheers
More information about the Linuxppc-dev
mailing list