MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP
authorJayachandran C <jayachandranc@netlogicmicro.com>
Tue, 24 Jul 2012 15:28:55 +0000 (17:28 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Jul 2012 15:28:55 +0000 (17:28 +0200)
commit1005f281fac16a64201ba5f39b463027772195ee
tree05197819a06ffdd8262b3d1e889b85f4696526b8
parent4d9bb75823eb1e22f8d6d13112d5eb6850fea475
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>
arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h