| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 04/12] MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP |
| From: | "Jayachandran C" <jayachandranc@netlogicmicro.com> |
| Date: | Fri, 13 Jul 2012 21:53:17 +0530 |
| Cc: | "Jayachandran C" <jayachandranc@netlogicmicro.com> |
| In-reply-to: | <1342196605-4260-1-git-send-email-jayachandranc@netlogicmicro.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1342196605-4260-1-git-send-email-jayachandranc@netlogicmicro.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
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> --- .../asm/mach-netlogic/cpu-feature-overrides.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h b/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h index d193fb6..966db4b 100644 --- a/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h @@ -48,7 +48,6 @@ #define cpu_has_userlocal 1 #define cpu_has_mips32r2 1 #define cpu_has_mips64r2 1 -#define cpu_has_dc_aliases 1 #else #error "Unknown Netlogic CPU" #endif -- 1.7.9.5 |
| Previous by Date: | [PATCH 08/12] MIPS: Netlogic: Move serial ports to device tree, Jayachandran C |
|---|---|
| Next by Date: | [PATCH 07/12] MIPS: Netlogic: DTS file for XLP boards, Jayachandran C |
| Previous by Thread: | [PATCH 08/12] MIPS: Netlogic: Move serial ports to device tree, Jayachandran C |
| Next by Thread: | [PATCH 07/12] MIPS: Netlogic: DTS file for XLP boards, Jayachandran C |
| Indexes: | [Date] [Thread] [Top] [All Lists] |