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

Michael Ellerman mpe at ellerman.id.au
Wed Mar 16 21:24:28 AEDT 2016


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 at c-s.fr>
> Cc: Scott Wood <oss at buserror.net>

Applied to powerpc next, thanks.

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

cheers


More information about the Linuxppc-dev mailing list