浏览代码

MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP

On XLP, the dcache size depends on the number of enabled threads in
core. There are no dcache aliases if the pagesize is large enough or
if enough threads are enabled in the core.

Remove the #define for cpu_has_dc_aliases and leave it to be computed
at runtime.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4099/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Jayachandran C 13 年之前
父节点
当前提交
1005f281fa
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h

+ 0 - 1
arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h

@@ -48,7 +48,6 @@
 #define cpu_has_userlocal	1
 #define cpu_has_userlocal	1
 #define cpu_has_mips32r2	1
 #define cpu_has_mips32r2	1
 #define cpu_has_mips64r2	1
 #define cpu_has_mips64r2	1
-#define cpu_has_dc_aliases	1
 #else
 #else
 #error "Unknown Netlogic CPU"
 #error "Unknown Netlogic CPU"
 #endif
 #endif