packagegroup-opendreambox-essential: move to meta-opendreambox
[opendreambox.git] / meta-bsp / common / recipes / linux / linux-dreambox-3.2 / 0013-fix-proc-cputype.patch
1 From a81fa57f8cb87fb4415c665d73d7d860a3a6df77 Mon Sep 17 00:00:00 2001
2 From: Andreas Monzner <andreas.monzner@dream-property.net>
3 Date: Thu, 17 Oct 2013 23:05:06 +0200
4 Subject: [PATCH 13/17] fix proc cputype
5
6 ---
7  arch/mips/kernel/cpu-probe.c | 4 ++--
8  1 file changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
11 index e755f8b..32c80b9 100644
12 --- a/arch/mips/kernel/cpu-probe.c
13 +++ b/arch/mips/kernel/cpu-probe.c
14 @@ -936,7 +936,7 @@ static inline void cpu_probe_broadcom(struct cpuinfo_mips *c, unsigned int cpu)
15         case PRID_IMP_BMIPS3300_ALT:
16         case PRID_IMP_BMIPS3300_BUG:
17                 c->cputype = CPU_BMIPS3300;
18 -               __cpu_name[cpu] = "Broadcom BMIPS3300";
19 +               __cpu_name[cpu] = "Brcm3300";
20                 set_elf_platform(cpu, "bmips3300");
21                 break;
22         case PRID_IMP_BMIPS43XX: {
23 @@ -945,7 +945,7 @@ static inline void cpu_probe_broadcom(struct cpuinfo_mips *c, unsigned int cpu)
24                 if (rev >= PRID_REV_BMIPS4380_LO &&
25                                 rev <= PRID_REV_BMIPS4380_HI) {
26                         c->cputype = CPU_BMIPS4380;
27 -                       __cpu_name[cpu] = "Broadcom BMIPS4380";
28 +                       __cpu_name[cpu] = "Brcm4380";
29                         set_elf_platform(cpu, "bmips4380");
30                 } else {
31                         c->cputype = CPU_BMIPS4350;
32 -- 
33 1.8.1.2
34