mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
fd7b2b5141
When not removing support for the wait instruction, when ruining on the BCM4706 SoC the system stops after msleep() without an exception. I haven't seen this problem on the other Broadcom SoCs with a 74K CPU, but in the Broadcom SDK it is deactivated for all CPUs of this type. SVN-Revision: 33496
13 lines
299 B
Diff
13 lines
299 B
Diff
--- a/arch/mips/kernel/cpu-probe.c
|
|
+++ b/arch/mips/kernel/cpu-probe.c
|
|
@@ -209,9 +209,6 @@ void __init check_wait(void)
|
|
break;
|
|
|
|
case CPU_74K:
|
|
- cpu_wait = r4k_wait;
|
|
- if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))
|
|
- cpu_wait = r4k_wait_irqoff;
|
|
break;
|
|
|
|
case CPU_TX49XX:
|