Commit 368bf8ef authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Set __elf_platform for Octeon.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/892/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 874fd3b5
...@@ -917,6 +917,8 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu) ...@@ -917,6 +917,8 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu)
case PRID_IMP_CAVIUM_CN52XX: case PRID_IMP_CAVIUM_CN52XX:
c->cputype = CPU_CAVIUM_OCTEON; c->cputype = CPU_CAVIUM_OCTEON;
__cpu_name[cpu] = "Cavium Octeon"; __cpu_name[cpu] = "Cavium Octeon";
if (cpu == 0)
__elf_platform = "octeon";
break; break;
default: default:
printk(KERN_INFO "Unknown Octeon chip!\n"); printk(KERN_INFO "Unknown Octeon chip!\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment