summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-07-07 21:04:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-07-07 21:04:02 +0000
commit574b94a06b7bd9fb2e8076fd5f3414c4e9d5db15 (patch)
tree6bc306895f4e57b240178dc70d474ef662464109 /openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
parentaab4d0e3cf371170a4d12f563bcf5c57956144a6 (diff)
downloadmtk-20170518-574b94a06b7bd9fb2e8076fd5f3414c4e9d5db15.zip
mtk-20170518-574b94a06b7bd9fb2e8076fd5f3414c4e9d5db15.tar.gz
mtk-20170518-574b94a06b7bd9fb2e8076fd5f3414c4e9d5db15.tar.bz2
Fix brcm63xx support. Now a kernel is booting, detecting the flash, and can probably mount a filesystem Huge thanks to Nico Huber for providing working patches !
SVN-Revision: 4117
Diffstat (limited to 'openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch')
-rw-r--r--openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch b/openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
new file mode 100644
index 0000000..737a70a
--- /dev/null
+++ b/openwrt/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
@@ -0,0 +1,13 @@
+diff -Naurp linux-2.6.16.7-generic-patched/net/ipv4/af_inet.c linux-2.6.16.7-patched/net/ipv4/af_inet.c
+--- linux-2.6.16.7-generic-patched/net/ipv4/af_inet.c 2006-04-17 23:53:25.000000000 +0200
++++ linux-2.6.16.7-patched/net/ipv4/af_inet.c 2006-07-05 15:33:47.000000000 +0200
+@@ -940,7 +940,9 @@ void inet_register_protosw(struct inet_p
+ out:
+ spin_unlock_bh(&inetsw_lock);
+
++#ifndef CONFIG_MIPS_BRCM
+ synchronize_net();
++#endif
+
+ return;
+