projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: Use fallthrough for arch/mips
[linux-2.6-microblaze.git]
/
arch
/
mips
/
kernel
/
idle.c
diff --git
a/arch/mips/kernel/idle.c
b/arch/mips/kernel/idle.c
index
37f8e78
..
5bc3b04
100644
(file)
--- a/
arch/mips/kernel/idle.c
+++ b/
arch/mips/kernel/idle.c
@@
-180,7
+180,8
@@
void __init check_wait(void)
break;
case CPU_LOONGSON64:
if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >=
break;
case CPU_LOONGSON64:
if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >=
- (PRID_IMP_LOONGSON_64C | PRID_REV_LOONGSON3A_R2_0))
+ (PRID_IMP_LOONGSON_64C | PRID_REV_LOONGSON3A_R2_0) ||
+ (c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R)
cpu_wait = r4k_wait;
break;
cpu_wait = r4k_wait;
break;
@@
-201,7
+202,7
@@
void __init check_wait(void)
*/
if (IS_ENABLED(CONFIG_MIPS_EJTAG_FDC_TTY))
break;
*/
if (IS_ENABLED(CONFIG_MIPS_EJTAG_FDC_TTY))
break;
- /* fall through */
+ fallthrough;
case CPU_M14KC:
case CPU_M14KEC:
case CPU_24K:
case CPU_M14KC:
case CPU_M14KEC:
case CPU_24K: