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: Chr
Le 15/03/2016 18:41, Scott Wood a écrit :
On Tue, 2016-03-15 at 14:07 +0100, 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
"before 4.8" means "< 4.8", not "<= 4.8" -- did you me
On Tue, 2016-03-15 at 14:07 +0100, 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
"before 4.8" means "< 4.8", not "<= 4.8" -- did you mean "before 4.9"?
> Change the one-elemen
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
Cc: Scott Wood
---
Verified with GCC 4.4.4 and GCC 4.8.3