]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: kernel: cps-vec: Replace 'la' macro with PTR_LA
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 1 Jul 2015 08:13:29 +0000 (09:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 Jul 2015 09:13:33 +0000 (11:13 +0200)
commit5c18ec10c895be0cdcf9e40fe1565018a4482ce4
treebec1b628683b2c5d04d042097d3bb8f8759c1214
parent2c6f08117daa30b4887b69a3fda9a72cb063b518
MIPS: kernel: cps-vec: Replace 'la' macro with PTR_LA

The PTR_LA macro will pick the correct "la" or "dla" macro to
load an address to a register. This gets rids of the following
warnings (and others) when building a 64-bit CPS kernel:

arch/mips/kernel/cps-vec.S:63: Warning: la used to load 64-bit address
arch/mips/kernel/cps-vec.S:159: Warning: la used to load 64-bit address
arch/mips/kernel/cps-vec.S:220: Warning: la used to load 64-bit address
arch/mips/kernel/cps-vec.S:240: Warning: la used to load 64-bit address
[...]

Cc: <stable@vger.kernel.org> # 3.16+
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10587/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cps-vec.S