MIPS: Allow R2 CPUs to turn off generation of 'ehb' instructions.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 12 May 2009 19:41:53 +0000 (12:41 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:26 +0000 (11:06 +0100)
commit41f0e4d041aa30507a34998c29d0b7ac0bede277
tree7e84895b367ff6cfad682c6177c5ff706bb177c8
parent95affdda9bfba0ac17025d48c622e1f30964e316
MIPS: Allow R2 CPUs to turn off generation of 'ehb' instructions.

Some CPUs do not need ehb instructions after writing CP0 registers.
By allowing ehb generation to be overridden in
cpu-feature-overrides.h, we can save a few instructions in the TLB
handler hot paths.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-features.h
arch/mips/mm/tlbex.c