aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2015-01-30 15:40:19 +0000
committerRalf Baechle <ralf@linux-mips.org>2015-01-30 23:04:59 +0100
commit5e32033e14ca9c7f7341cb383f5a05699b0b5382 (patch)
tree1c80f121b1d7aed3fd23dbcbb687b8ef526f86dc /arch/mips/kernel/traps.c
parentMIPS: Fix kernel lockup or crash after CPU offline/online (diff)
downloadlinux-dev-5e32033e14ca9c7f7341cb383f5a05699b0b5382.tar.xz
linux-dev-5e32033e14ca9c7f7341cb383f5a05699b0b5382.zip
MIPS: mipsregs.h: Add write_32bit_cp1_register()
Add a write_32bit_cp1_register() macro to compliment the read_32bit_cp1_register() macro. This is to abstract whether .set hardfloat needs to be used based on GAS_HAS_SET_HARDFLOAT. The implementation of _read_32bit_cp1_register() .sets mips1 due to failure of gas v2.19 to assemble cfc1 for Octeon (see commit 25c300030016 ("MIPS: Override assembler target architecture for octeon.")). I haven't copied this over to _write_32bit_cp1_register() as I'm uncertain whether it applies to ctc1 too, or whether anybody cares about that version of binutils any longer. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@imgtec.com> Cc: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9172/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions