Skip to content
Snippets Groups Projects
Commit a7ee0142 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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


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

SVN-Revision: 42955
parent b537205e
No related branches found
No related tags found
No related merge requests found
--- 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)
--- 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment