summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2012-10-31 12:01:29 +0000
committerJohn Crispin <blogic@openwrt.org>2012-11-09 11:37:18 +0100
commitd650484649643e5f18c9ff61f4ca1fc57fb61fb1 (patch)
tree10ef5dc4374f297a6ca0fbd0535da099ad601ec1 /arch/mips
parent4be3d2f3966b9f010bb997dcab25e7af489a841e (diff)
downloadop-kernel-dev-d650484649643e5f18c9ff61f4ca1fc57fb61fb1.zip
op-kernel-dev-d650484649643e5f18c9ff61f4ca1fc57fb61fb1.tar.gz
MIPS: Netlogic: select MIPSR2 for XLP
This allows us to use the r2 optimized code from kernel headers while compilation. Disable PGD_C0_CONTEXT option for XLP, which does not work. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4456 Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a4919b0..83980a0 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1542,6 +1542,7 @@ config CPU_XLP
select WEAK_ORDERING
select WEAK_REORDERING_BEYOND_LLSC
select CPU_HAS_PREFETCH
+ select CPU_MIPSR2
help
Netlogic Microsystems XLP processors.
endchoice
@@ -1755,7 +1756,7 @@ config CPU_SUPPORTS_UNCACHED_ACCELERATED
bool
config MIPS_PGD_C0_CONTEXT
bool
- default y if 64BIT && CPU_MIPSR2
+ default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
#
# Set to y for ptrace access to watch registers.
OpenPOWER on IntegriCloud