]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 25 Mar 2015 12:48:14 +0000 (13:48 +0100)
commit3b9ba20cee6c3da0daa4eb15c0eecd7f7375647a
treeceba197d2dd3e1ab08c5e80a29099c14f70805ed
parentb6df1e7f246f37c39eb62dfdb2c02a599c8aea87
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