Re: [v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers

From: Michael Ellerman
Date: Wed Mar 16 2016 - 06:24:34 EST


On Tue, 2016-15-03 at 13:07:49 UTC, Christophe Leroy wrote:
> Some versions of GCC, reportedly before 4.8, fail with
> arch/powerpc/mm/8xx_mmu.c:139:2: error: memory input 1 is not directly
> addressable
>
> Change the one-element array into a simple variable to avoid this.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
> Cc: Scott Wood <oss@xxxxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2e098dcee6208a690f73e11feb

cheers