summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.26
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-05 17:33:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-05 17:33:09 +0000
commit806f1494139c022f5bc71691f02fde5bc1e79bfd (patch)
tree87c2cd5f48fcfefc0b02b76baf44d5003008eddd /target/linux/generic-2.6/patches-2.6.26
parent2174f5d95cc39b0b18855d94e1b2c8fe1e759335 (diff)
downloadmtk-20170518-806f1494139c022f5bc71691f02fde5bc1e79bfd.zip
mtk-20170518-806f1494139c022f5bc71691f02fde5bc1e79bfd.tar.gz
mtk-20170518-806f1494139c022f5bc71691f02fde5bc1e79bfd.tar.bz2
fix kernel header breakage, which caused a compile error in igmpproxy on big-endian targets
SVN-Revision: 12143
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.26')
-rw-r--r--target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch b/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch
new file mode 100644
index 0000000..51ca974
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/pim.h
++++ b/include/linux/pim.h
+@@ -9,7 +9,7 @@
+ __u8 pim_type:4, /* PIM message type */
+ pim_ver:4; /* PIM version */
+ #elif defined(__BIG_ENDIAN_BITFIELD)
+- __u8 pim_ver:4; /* PIM version */
++ __u8 pim_ver:4, /* PIM version */
+ pim_type:4; /* PIM message type */
+ #endif
+ __u8 pim_rsv; /* Reserved */