[MIPS] Improve branch prediction in ll/sc atomic operations.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 28 Sep 2006 00:45:21 +0000 (01:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 13 Feb 2007 22:40:50 +0000 (22:40 +0000)
commitf65e4fa8e0c6022ad58dc88d1b11b12589ed7f9f
tree2405e012e079693e0fcfde9ff981c549d6c68a21
parent509cb37e173d4e39cec47238397e91b718730794
[MIPS] Improve branch prediction in ll/sc atomic operations.

Now that finally all supported versions of binutils have functioning
support for .subsection use .subsection to tweak the branch prediction

I did not modify the R10000 errata variants because it seems unclear if
this will invalidate the workaround which actually relies on the cheesy
prediction of branch likely to cause a misspredict if the sc was
successful.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/atomic.h
include/asm-mips/bitops.h
include/asm-mips/spinlock.h
include/asm-mips/system.h