]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd6cdec148cab479899fa5cb9817e5711330ae8ee
tree2405e012e079693e0fcfde9ff981c549d6c68a21
parentb1f06334aef9625b7edc471fb545036c18fc5f9e
[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