]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
MIPS: Netlogic: No hazards needed for XLR/XLS
authorJayachandran C <jchandra@broadcom.com>
Mon, 14 Jan 2013 15:11:59 +0000 (15:11 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 16 Feb 2013 23:15:21 +0000 (00:15 +0100)
TLB and COP0 hazards are handled in hardware for Netlogic XLR/XLS
SoCs. Update hazards.h to pick more optimal set of definitions when
compiling for XLR/XLS.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4788/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/include/asm/hazards.h

index f0324e92d0896824d593ac1194a96ed7fff182c9..9c309ae4a00e38db86d887801139dc64873a38cb 100644 (file)
@@ -141,7 +141,7 @@ do {                                                                        \
 
 #elif defined(CONFIG_MIPS_ALCHEMY) || defined(CONFIG_CPU_CAVIUM_OCTEON) || \
        defined(CONFIG_CPU_LOONGSON2) || defined(CONFIG_CPU_R10000) || \
-       defined(CONFIG_CPU_R5500)
+       defined(CONFIG_CPU_R5500) || defined(CONFIG_CPU_XLR)
 
 /*
  * R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer.