diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-03-15 14:07:49 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-16 05:22:40 +0100 |
commit | 2e098dcee6208a690f73e11feb29d181cae7d978 (patch) | |
tree | c7862e6351b7ff8b7fcb3e310063b53cf45d0dfc /drivers/pcmcia/pxa2xx_balloon3.c | |
parent | powerpc/rcpm: Fix build break when SMP=n (diff) | |
download | linux-2e098dcee6208a690f73e11feb29d181cae7d978.tar.xz linux-2e098dcee6208a690f73e11feb29d181cae7d978.zip |
powerpc/8xx: Fix do_mtspr_cpu6() build on older compilers
GCC < 4.9 is unable to build this, saying:
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.
Fixes: 1458dd951f7c ("powerpc/8xx: Handle CPU6 ERRATA directly in mtspr() macro")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_balloon3.c')
0 files changed, 0 insertions, 0 deletions