diff options
author | Jayachandran C <jchandra@broadcom.com> | 2012-10-31 08:01:29 -0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-11-09 05:37:18 -0500 |
commit | d650484649643e5f18c9ff61f4ca1fc57fb61fb1 (patch) | |
tree | 10ef5dc4374f297a6ca0fbd0535da099ad601ec1 | |
parent | 4be3d2f3966b9f010bb997dcab25e7af489a841e (diff) |
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>
-rw-r--r-- | arch/mips/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a4919b0932ec..83980a07dc89 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1542,6 +1542,7 @@ config CPU_XLP | |||
1542 | select WEAK_ORDERING | 1542 | select WEAK_ORDERING |
1543 | select WEAK_REORDERING_BEYOND_LLSC | 1543 | select WEAK_REORDERING_BEYOND_LLSC |
1544 | select CPU_HAS_PREFETCH | 1544 | select CPU_HAS_PREFETCH |
1545 | select CPU_MIPSR2 | ||
1545 | help | 1546 | help |
1546 | Netlogic Microsystems XLP processors. | 1547 | Netlogic Microsystems XLP processors. |
1547 | endchoice | 1548 | endchoice |
@@ -1755,7 +1756,7 @@ config CPU_SUPPORTS_UNCACHED_ACCELERATED | |||
1755 | bool | 1756 | bool |
1756 | config MIPS_PGD_C0_CONTEXT | 1757 | config MIPS_PGD_C0_CONTEXT |
1757 | bool | 1758 | bool |
1758 | default y if 64BIT && CPU_MIPSR2 | 1759 | default y if 64BIT && CPU_MIPSR2 && !CPU_XLP |
1759 | 1760 | ||
1760 | # | 1761 | # |
1761 | # Set to y for ptrace access to watch registers. | 1762 | # Set to y for ptrace access to watch registers. |