MIPS: Fix cpu_has_mips_r2_exec_hazard.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 25 Mar 2015 12:14:16 +0000 (13:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 10 Apr 2015 13:41:47 +0000 (15:41 +0200)
commit9cdf30bd3bac697fc533988f44a117434a858f69
tree72a01363e39b79c635f76691e7a1213c7d4ca85a
parentaebac99384f7a6d83a3dcd42bf2481eed2670083
MIPS: Fix cpu_has_mips_r2_exec_hazard.

Returns a non-zero value if the current processor implementation requires
an IHB instruction to deal with an instruction hazard as per MIPS R2
architecture specification, zero otherwise.

For a discussion, see http://patchwork.linux-mips.org/patch/9539/.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-features.h