MIPS: Give Octeon+ CPUs their own __cpu_name
PATCH 1/1 MIPS: Give Octeon+ CPUs their own __cpu_name
Signed-off-by David Daney <[email protected]>
---
This couuld be rolled into the original linux-queue patch that extablishes CPU_CAVIUM_OCTEON_PLUS.
arch/mips/kernel/cpu-probe.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
arch/mips/kernel/cpu-probe.c +4 -3
@@ -913,14 +913,15 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu)case PRID_IMP_CAVIUM_CN31XX :case PRID_IMP_CAVIUM_CN30XX : c->cputype =CPU_CAVIUM_OCTEON ; - goto name_and_platform; + __cpu_name[cpu] ="Cavium Octeon" ; + goto platform;case PRID_IMP_CAVIUM_CN58XX :case PRID_IMP_CAVIUM_CN56XX :case PRID_IMP_CAVIUM_CN50XX :case PRID_IMP_CAVIUM_CN52XX : c->cputype =CPU_CAVIUM_OCTEON_PLUS ; -name_and_platform: - __cpu_name[cpu] ="Cavium Octeon" ; + __cpu_name[cpu] ="Cavium Octeon+" ; +platform:if (cpu ==0 ) __elf_platform ="octeon" ;break ;
Signature · 1 line
1.6.6.1
Quoted 2 lines · David Daney
This couuld be rolled into the original linux-queue patch that extablishes
CPU_CAVIUM_OCTEON_PLUS.
Done.
Ralf