]> www.infradead.org Git - users/jedix/linux-maple.git/commit
MIPS: unaligned: Fix build error on big endian R6 kernels
authorJames Cowgill <James.Cowgill@imgtec.com>
Tue, 23 Jun 2015 11:02:00 +0000 (12:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:52:06 +0000 (20:52 -0700)
commit80e2e4be68de3ab6ae1c93830c786b50f8fa017d
treeff2e6da5b8678a03fc837b6b81ae5d05ebc8a4f2
parent352cb8677f83a6cf2139151578c8c79785d2d4bf
MIPS: unaligned: Fix build error on big endian R6 kernels

commit 531a6d599f4304156236ebdd531aaa80be61868d upstream.

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: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10575/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/unaligned.c