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)
commit1658f914ff91c3bf572d5ddae3773720f6803d20
tree6a7e13a9ac7d7d978e41eb7a8e47b769b4f44290
parent01be057b33f52f094bff3a79a93d9ca99e27483d
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