Skip to content

Commit

Permalink
MIPS: Netlogic: No hazards needed for XLR/XLS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jayachandran C authored and John Crispin committed Feb 16, 2013
1 parent 8cd3d64 commit 5a4cbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/hazards.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a4cbe3

Please sign in to comment.