Messages in this thread Patch in this message | | | Date | Wed, 23 Aug 2006 12:56:15 +0200 | From | Haavard Skinnemoen <> | Subject | [-mm patch] AVR32: asm/io.h should include asm/byteorder.h |
| |
The {in,out}[bwl] macros use byte order conversion macros, so we need to include asm/byteorder.h from asm/io.h.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- include/asm-avr32/io.h | 1 + 1 file changed, 1 insertion(+)
Index: linux-2.6.18-rc3-mm2/include/asm-avr32/io.h =================================================================== --- linux-2.6.18-rc3-mm2.orig/include/asm-avr32/io.h 2006-08-08 14:11:15.000000000 +0200 +++ linux-2.6.18-rc3-mm2/include/asm-avr32/io.h 2006-08-08 14:11:24.000000000 +0200 @@ -6,6 +6,7 @@ #ifdef __KERNEL__ #include <asm/addrspace.h> +#include <asm/byteorder.h> /* virt_to_phys will only work when address is in P1 or P2 */ static __inline__ unsigned long virt_to_phys(volatile void *address) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |