Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358803

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

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers
Date 2016-03-16 11:30 +0100
Message-ID <rdgSe-7Ep-9@gated-at.bofh.it> (permalink)
References <rcWTw-2vY-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Applied to powerpc next, thanks.

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

cheers

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers Christophe Leroy <christophe.leroy@c-s.fr> - 2016-03-15 14:10 +0100
  Re: [PATCH v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older  compilers Scott Wood <oss@buserror.net> - 2016-03-15 18:50 +0100
    Re: [PATCH v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older  compilers christophe leroy <christophe.leroy@c-s.fr> - 2016-03-15 19:20 +0100
  Re: [v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers Michael Ellerman <mpe@ellerman.id.au> - 2016-03-16 11:30 +0100

csiph-web