]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Allow UserLocal on MIPS_R1 processors
authorKevin Cernekee <cernekee@gmail.com>
Sat, 16 Oct 2010 21:22:38 +0000 (14:22 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:53 +0000 (19:08 +0100)
commit894bd43618ee57db07b819072a6de4663aa2432c
treebdec7d15eb2ba774292358b2a617965ab3ff4530
parentae04f35f4e764bb8c3ac0afa691ef5c67210dc84
MIPS: Allow UserLocal on MIPS_R1 processors

Some MIPS32R1 processors implement UserLocal (RDHWR $29) to accelerate
programs that make extensive use of thread-local storage.  Therefore,
setting up the HWRENA register should not depend on cpu_has_mips_r2.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
arch/mips/kernel/traps.c