]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: microMIPS: Disable LL/SC and fix linker bug.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Mon, 25 Mar 2013 18:22:59 +0000 (13:22 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 May 2013 15:55:19 +0000 (17:55 +0200)
commita3250f5c1ee91cd5b3735b618ebe54607a9ea3a3
tree6a7e13a9ac7d7d978e41eb7a8e47b769b4f44290
parent078eca0f826d9a9a532d83c792791c45acaa69bd
MIPS: microMIPS: Disable LL/SC and fix linker bug.

Partially revert commit e0c14a260d66ba35935600d6435940a566fe806b
and turn off LL/SC when building a pure microMIPS kernel. This is
a temporary fix until the cmpxchg assembly macro functions are
re-written to not use the HI/LO registers in address calculations.

Also add .insn in selected user access functions which would
otherwise produce ISA mode jump incompatibilities. This is also a
temporary fix.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
arch/mips/include/asm/mach-sead3/cpu-feature-overrides.h
arch/mips/include/asm/uaccess.h