[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:04
Message-ID: S27009775AbbGWKJHK0jEl/20150723100907Z+30 () 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:29:43 2015 +0200
Commit: 704ed8f1377927e7ea09d787254b383b0bc6b212
Gitweb: http://git.linux-mips.org/g/ralf/linux/704ed8f13779
Branch: linux-4.0-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