diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-02-02 22:26:38 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 08:01:52 -0400 |
commit | 1091bfa20b94ba14a3c8a3eaf3a5b9d3df975da2 (patch) | |
tree | 93a0774dd3bf07eddc7be7f492df385d5182aa50 /arch/mips/kernel/cpu-probe.c | |
parent | 5cd0d5beef2bf34e3ec850aa75637e73fd8f5f82 (diff) |
MIPS: Add P6600 cases to CPU switch statements
Add cases supporting the P6600 CPU to various switch statements in
core MIPS kernel code that define behaviour dependent upon the CPU.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Joshua Kinard <kumba@gentoo.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Petri Gynther <pgynther@google.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12343/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index e0cfa3b85bca..388503867657 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -539,6 +539,7 @@ static int set_ftlb_enable(struct cpuinfo_mips *c, int enable) | |||
539 | switch (c->cputype) { | 539 | switch (c->cputype) { |
540 | case CPU_PROAPTIV: | 540 | case CPU_PROAPTIV: |
541 | case CPU_P5600: | 541 | case CPU_P5600: |
542 | case CPU_P6600: | ||
542 | /* proAptiv & related cores use Config6 to enable the FTLB */ | 543 | /* proAptiv & related cores use Config6 to enable the FTLB */ |
543 | config = read_c0_config6(); | 544 | config = read_c0_config6(); |
544 | /* Clear the old probability value */ | 545 | /* Clear the old probability value */ |