mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
a7ee0142e7
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42955
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)
|