MIPS: mm: tlbex: Use cpu_has_mips_r2_exec_hazard for the EHB instruction
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Mon, 24 Nov 2014 15:42:46 +0000 (15:42 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:30 +0000 (15:37 +0000)
commit77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed
tree0ec062a246b5d8525feaf992630df643bafc08b6
parentd2e6d30ad123c81de1d8d6efa2e3e3e33c1e327b
MIPS: mm: tlbex: Use cpu_has_mips_r2_exec_hazard for the EHB instruction

MIPS uses the cpu_has_mips_r2_exec_hazard macro to determine whether the
EHB instruction is available or not. This is necessary for MIPS R6
which also supports the EHB instruction.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/mm/tlbex.c