MIPS: Loongson 2 needs no hazard barriers.
authorZhang Le <r0bertz@gentoo.org>
Wed, 15 Apr 2009 09:01:52 +0000 (17:01 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 14 May 2009 12:50:26 +0000 (13:50 +0100)
commit5d57c31e5790d44905af0459a21086dbad167d26
treed834becb495bdba4d59d5ae46e96f566586b54cd
parent6cec2a0ac57d2ebef495a46d7866ae86e8d0e508
MIPS: Loongson 2 needs no hazard barriers.

Quoting from Loongson2FUserGuide.pdf:

5.22.1 Hazards
The processor detects most of the pipeline hazards in hardware, including
CP0 hazards and load hazards. No NOP instructions are required to correct
instruction sequences.

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/hazards.h