summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-07 21:04:02 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-07 21:04:02 +0000
commit4e782d4c71493624142f1cad9d2254d187c5e4a2 (patch)
treec87f6537b0f16e1af11cd595ef258d109c084120 /target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
parent5cc7a3dd62bd3d2ff9a1530787052bca84acea8c (diff)
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 ! git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4117 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch')
-rw-r--r--target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch b/target/linux/brcm63xx-2.6/patches/050-disable-synchronize_net.patch
new file mode 100644
index 000000000..737a70a48
--- /dev/null
+++ b/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;
+