summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-29 14:58:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-29 14:58:25 +0000
commit9ede01f217e5610bd5377f41c18cb924ca2fef2e (patch)
tree8613777798a3fba24959169510c609a64d5c113d
parent9e0ee80132c3edc9475ae1078591becf05942d34 (diff)
downloadmtk-20170518-9ede01f217e5610bd5377f41c18cb924ca2fef2e.zip
mtk-20170518-9ede01f217e5610bd5377f41c18cb924ca2fef2e.tar.gz
mtk-20170518-9ede01f217e5610bd5377f41c18cb924ca2fef2e.tar.bz2
include/asm-arm/arch-ixp4xx/io.h must include linux/bitops.h on 2.6.24
SVN-Revision: 10976
-rw-r--r--target/linux/ixp4xx/patches-2.6.24/900-include_bitops_h_from_arch_io_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.24/900-include_bitops_h_from_arch_io_h.patch b/target/linux/ixp4xx/patches-2.6.24/900-include_bitops_h_from_arch_io_h.patch
new file mode 100644
index 0000000..b97c3d7
--- /dev/null
+++ b/target/linux/ixp4xx/patches-2.6.24/900-include_bitops_h_from_arch_io_h.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.24.5/include/asm-arm/arch-ixp4xx/io.h
+===================================================================
+--- linux-2.6.24.5.orig/include/asm-arm/arch-ixp4xx/io.h
++++ linux-2.6.24.5/include/asm-arm/arch-ixp4xx/io.h
+@@ -13,6 +13,8 @@
+ #ifndef __ASM_ARM_ARCH_IO_H
+ #define __ASM_ARM_ARCH_IO_H
+
++#include <linux/bitops.h>
++
+ #include <asm/hardware.h>
+
+ #define IO_SPACE_LIMIT 0xffff0000