From: Gabor Juhos <juhosg@openwrt.org>
Date: Tue, 29 Apr 2008 14:58:25 +0000 (+0000)
Subject: include/asm-arm/arch-ixp4xx/io.h must include linux/bitops.h on 2.6.24
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9ede01f217e5610bd5377f41c18cb924ca2fef2e;p=openwrt%2Fstaging%2Fwigyori.git

include/asm-arm/arch-ixp4xx/io.h must include linux/bitops.h on 2.6.24

SVN-Revision: 10976
---

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 0000000000..b97c3d7bd5
--- /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