diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-18 19:26:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-18 19:26:22 +0000 |
commit | 4869b2558f10c9665cf1157389902625f3c128f7 (patch) | |
tree | c31155cacf29f923daee40daac22990b4473cad1 /target | |
parent | ae73a60f5ea0a3be3c69dadbf2284148c536c001 (diff) | |
download | upstream-4869b2558f10c9665cf1157389902625f3c128f7.tar.gz upstream-4869b2558f10c9665cf1157389902625f3c128f7.tar.bz2 upstream-4869b2558f10c9665cf1157389902625f3c128f7.zip |
ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42955
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch b/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch new file mode 100644 index 0000000000..0027c59631 --- /dev/null +++ b/target/linux/ar71xx/patches-3.10/728-MIPS-ath79-fix-restart.patch @@ -0,0 +1,10 @@ +--- 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) |