aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2017-02-23 14:50:24 +0000
committerRalf Baechle <[email protected]>2017-03-08 11:16:26 +0100
commit4b5347a24a0f2d3272032c120664b484478455de (patch)
treec1d18d77d0d87c1ea8c993a40b7702245b352c5e /tools/perf/scripts/python/export-to-postgresql.py
parent2e6c7747730296a6d4fd700894286db1132598c4 (diff)
MIPS: End spinlocks with .insn
When building for microMIPS we need to ensure that the assembler always knows that there is code at the target of a branch or jump. Recent toolchains will fail to link a microMIPS kernel when this isn't the case due to what it thinks is a branch to non-microMIPS code. mips-mti-linux-gnu-ld kernel/built-in.o: .spinlock.text+0x2fc: Unsupported branch between ISA modes. mips-mti-linux-gnu-ld final link failed: Bad value This is due to inline assembly labels in spinlock.h not being followed by an instruction mnemonic, either due to a .subsection pseudo-op or the end of the inline asm block. Fix this with a .insn direction after such labels. Signed-off-by: Paul Burton <[email protected]> Signed-off-by: James Hogan <[email protected]> Reviewed-by: Maciej W. Rozycki <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Cc: [email protected] Cc: <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/15325/ Signed-off-by: James Hogan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions