mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
11 lines
267 B
Diff
11 lines
267 B
Diff
|
--- a/arch/mips/ath79/setup.c
|
||
|
+++ b/arch/mips/ath79/setup.c
|
||
|
@@ -40,6 +40,7 @@ static char ath79_sys_type[ATH79_SYS_TYP
|
||
|
|
||
|
static void ath79_restart(char *command)
|
||
|
{
|
||
|
+ local_irq_disable();
|
||
|
ath79_device_reset_set(AR71XX_RESET_FULL_CHIP);
|
||
|
for (;;)
|
||
|
if (cpu_wait)
|