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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 12:14:21 +0000 (05:14 -0700)
commitfb756fbe5affdb7984b8074aaa5fc98252dcff65
treea83fde57f840c675f4da68a2c9af39d3d51fb420
parentcd2acc35751a7a88aa03b426e472dc0843b6404f
MIPS: Fix cpu_has_mips_r2_exec_hazard.

Commit 9cdf30bd3bac697fc533988f44a117434a858f69 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/cpu-features.h