aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-11 10:57:49 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-15 18:25:54 +0100
commit1708644f1915eb7587a904d81da0ef0b559d1567 (patch)
tree15fd746c87d428ef513ee95fc69ded44fbf7e2ea /target/linux/brcm47xx
parentb02636fcb4b16d437442f817a60a30e9b7ce4ed2 (diff)
downloadupstream-1708644f1915eb7587a904d81da0ef0b559d1567.tar.gz
upstream-1708644f1915eb7587a904d81da0ef0b559d1567.tar.bz2
upstream-1708644f1915eb7587a904d81da0ef0b559d1567.zip
kernel: backport MIPS changes introducing a separate IRQ stack
Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch b/target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch
index cf72d66114..795969b110 100644
--- a/target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch
+++ b/target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch
@@ -260,7 +260,7 @@
#endif /* _ASM_R4KCACHE_H */
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch/mips/include/asm/stackframe.h
-@@ -358,6 +358,10 @@
+@@ -365,6 +365,10 @@
.macro RESTORE_SP_AND_RET
LONG_L sp, PT_R29(sp)
.set arch=r4000