diff options
author | Huacai Chen <chenhc@lemote.com> | 2019-11-04 14:11:20 +0800 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-11-11 10:43:13 -0800 |
commit | b2afb64cccd243afd8a4337d8ee4c2f2afbe991d (patch) | |
tree | b98b7f3610fa3b7223adc872741b7920a61c085e /arch/mips/include/asm/cpu-type.h | |
parent | MIPS: Loongson: Fix return value of loongson_hwmon_init (diff) | |
download | linux-dev-b2afb64cccd243afd8a4337d8ee4c2f2afbe991d.tar.xz linux-dev-b2afb64cccd243afd8a4337d8ee4c2f2afbe991d.zip |
MIPS: Loongson: Rename LOONGSON1 to LOONGSON32
Now old Loongson-2E/2F use LOONGSON2EF and will be removed in future,
newer Loongson-2/3 use LOONGSON64. So rename LOONGSON1 to LOONGSON32
will make the naming style more unified.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
[paulburton@kernel.org: Fix checkpatch whitespace warning in irqflags.h]
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-mips@vger.kernel.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
Diffstat (limited to 'arch/mips/include/asm/cpu-type.h')
-rw-r--r-- | arch/mips/include/asm/cpu-type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 5117e9119b87..c46c59b0f1b4 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h @@ -25,7 +25,7 @@ static inline int __pure __get_cpu_type(const int cpu_type) #if defined(CONFIG_SYS_HAS_CPU_LOONGSON1B) || \ defined(CONFIG_SYS_HAS_CPU_LOONGSON1C) - case CPU_LOONGSON1: + case CPU_LOONGSON32: #endif #ifdef CONFIG_SYS_HAS_CPU_MIPS32_R1 |