diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2019-10-20 16:43:13 +0200 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-10-31 23:03:10 +0100 |
commit | 268a2d60013049cfd9a0aada77284aa6ea8ad26a (patch) | |
tree | 20b8b9f6d76adae4ab963c55ad8cf3d43636ca17 /arch/mips/kernel/idle.c | |
parent | MIPS: include: remove unsued header file asm/sgi/sgi.h (diff) | |
download | linux-268a2d60013049cfd9a0aada77284aa6ea8ad26a.tar.xz linux-268a2d60013049cfd9a0aada77284aa6ea8ad26a.zip |
MIPS: Loongson64: Rename CPU TYPES
CPU_LOONGSON2 -> CPU_LOONGSON2EF
CPU_LOONGSON3 -> CPU_LOONGSON64
As newer loongson-2 products (2G/2H/2K1000) can share kernel
implementation with loongson-3 while 2E/2F are less similar with
other LOONGSON64 products.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Diffstat (limited to 'arch/mips/kernel/idle.c')
-rw-r--r-- | arch/mips/kernel/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index 980d6c39aab3..57dfa6c9edc5 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c @@ -178,7 +178,7 @@ void __init check_wait(void) case CPU_XLP: cpu_wait = r4k_wait; break; - case CPU_LOONGSON3: + case CPU_LOONGSON64: if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >= (PRID_IMP_LOONGSON_64C | PRID_REV_LOONGSON3A_R2_0)) cpu_wait = r4k_wait; |