[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: unaligned: Fix build error on big endian R6 kernels
From:       linux-mips () linux-mips ! org
Date:       2015-07-23 10:09:25
Message-ID: S27010579AbbGWKJ2bT1Bl/20150723100928Z+36 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: James Cowgill <James.Cowgill@imgtec.com> Tue Jun 23 12:02:00 2015 +0100
Comitter: Ralf Baechle <ralf@linux-mips.org> Tue Jul 21 11:28:52 2015 +0200
Commit: 1af55c8c6709eb2e8644c8bd0513d0235f4dd584
Gitweb: http://git.linux-mips.org/g/ralf/linux/1af55c8c6709
Branch: linux-4.1-stable

Commit eeb538950367 ("MIPS: unaligned: Prevent EVA instructions on kernel
unaligned accesses") renamed the Load* and Store* defines in unaligned.c
to _Load* and _Store* as part of its fix. One define was missed out which
causes big endian R6 kernels to fail to build.

arch/mips/kernel/unaligned.c:880:35:
error: implicit declaration of function '_StoreDW'
 #define StoreDW(addr, value, res) _StoreDW(addr, value, res)
                                   ^

Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
Fixes: eeb538950367 ("MIPS: unaligned: Prevent EVA instructions on kernel unaligned accesses")
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # 4.0+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10575/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit a4c1b3cfa94990543e74a14b0b336318a5edfc13)

---

 arch/mips/kernel/unaligned.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic