aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-01-28 19:52:13 -0500
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 06:53:20 -0500
commit368bf8ef304f426be0a8a0be5b0e437747598c10 (patch)
tree5c9582e1a4c109464d92aa7f55e3970e2af3749e /arch/mips/kernel
parent874fd3b5acc20f2a464409045aef3b2288069787 (diff)
MIPS: Set __elf_platform for Octeon.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/892/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/cpu-probe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 494e8ab48d63..9ea5ca89e85f 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -917,6 +917,8 @@ static inline void cpu_probe_cavium(struct cpuinfo_mips *c, unsigned int cpu)
917 case PRID_IMP_CAVIUM_CN52XX: 917 case PRID_IMP_CAVIUM_CN52XX:
918 c->cputype = CPU_CAVIUM_OCTEON; 918 c->cputype = CPU_CAVIUM_OCTEON;
919 __cpu_name[cpu] = "Cavium Octeon"; 919 __cpu_name[cpu] = "Cavium Octeon";
920 if (cpu == 0)
921 __elf_platform = "octeon";
920 break; 922 break;
921 default: 923 default:
922 printk(KERN_INFO "Unknown Octeon chip!\n"); 924 printk(KERN_INFO "Unknown Octeon chip!\n");