summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/mt7620.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-05-18 17:04:38 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-05-28 12:35:05 +0200
commitf03984ca4fcfb356ee0765ae49a36288e6cdb165 (patch)
tree77218d1f5793c356b13e1b89a16aa861c4750f81 /arch/mips/ralink/mt7620.c
parent63a8802f4fb60963d3f91b072f4d0424330ec0d4 (diff)
MIPS: Fix write_gc0_* macros when writing zero
The versions of the __write_{32,64}bit_gc0_register() macros for when there is no virt support in the assembler use the "J" inline asm constraint to allow integer zero, but this needs to be accompanied by the "z" formatting string so that it turns into $0. Fix both macros to do this. Fixes: bad50d79255a ("MIPS: Fix VZ probe gas errors with binutils <2.24") Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/13289/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/mt7620.c')
0 files changed, 0 insertions, 0 deletions