Commit 7f95aef1 authored by nbd's avatar nbd

ar71xx: disable irq on reboot to fix hang issues (fixes #17839)

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

Backport of r42955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9a5b2585
--- 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment