diff options
-rw-r--r-- | arch/mips/include/asm/cpu.h | 4 | ||||
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 64b4b69d26f4..01d757c83201 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -82,10 +82,10 @@ | |||
82 | #define PRID_IMP_RM7000 0x2700 | 82 | #define PRID_IMP_RM7000 0x2700 |
83 | #define PRID_IMP_NEVADA 0x2800 /* RM5260 ??? */ | 83 | #define PRID_IMP_NEVADA 0x2800 /* RM5260 ??? */ |
84 | #define PRID_IMP_RM9000 0x3400 | 84 | #define PRID_IMP_RM9000 0x3400 |
85 | #define PRID_IMP_LOONGSON1 0x4200 | 85 | #define PRID_IMP_LOONGSON_32 0x4200 /* Loongson-1 */ |
86 | #define PRID_IMP_R5432 0x5400 | 86 | #define PRID_IMP_R5432 0x5400 |
87 | #define PRID_IMP_R5500 0x5500 | 87 | #define PRID_IMP_R5500 0x5500 |
88 | #define PRID_IMP_LOONGSON2 0x6300 | 88 | #define PRID_IMP_LOONGSON_64 0x6300 /* Loongson-2/3 */ |
89 | 89 | ||
90 | #define PRID_IMP_UNKNOWN 0xff00 | 90 | #define PRID_IMP_UNKNOWN 0xff00 |
91 | 91 | ||
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index f4229544df10..34df5afa2d6f 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -734,7 +734,7 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu) | |||
734 | MIPS_CPU_LLSC; | 734 | MIPS_CPU_LLSC; |
735 | c->tlbsize = 64; | 735 | c->tlbsize = 64; |
736 | break; | 736 | break; |
737 | case PRID_IMP_LOONGSON2: | 737 | case PRID_IMP_LOONGSON_64: /* Loongson-2/3 */ |
738 | c->cputype = CPU_LOONGSON2; | 738 | c->cputype = CPU_LOONGSON2; |
739 | __cpu_name[cpu] = "ICT Loongson-2"; | 739 | __cpu_name[cpu] = "ICT Loongson-2"; |
740 | 740 | ||
@@ -753,7 +753,7 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c, unsigned int cpu) | |||
753 | MIPS_CPU_32FPR; | 753 | MIPS_CPU_32FPR; |
754 | c->tlbsize = 64; | 754 | c->tlbsize = 64; |
755 | break; | 755 | break; |
756 | case PRID_IMP_LOONGSON1: | 756 | case PRID_IMP_LOONGSON_32: /* Loongson-1 */ |
757 | decode_configs(c); | 757 | decode_configs(c); |
758 | 758 | ||
759 | c->cputype = CPU_LOONGSON1; | 759 | c->cputype = CPU_LOONGSON1; |