From: Martin Date: Sat, 26 Feb 2011 17:31:40 +0000 (+0100) Subject: IO_SPACE_LIMIT extended to 0xffffffff X-Git-Url: https://rtime.felk.cvut.cz/gitweb/mcf548x/linux.git/commitdiff_plain/1419cd774109210d5d3c2da888af34b51bd3ec6e IO_SPACE_LIMIT extended to 0xffffffff --- diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h index 0fb3468000e7..2f83c251909a 100644 --- a/arch/m68k/include/asm/io_mm.h +++ b/arch/m68k/include/asm/io_mm.h @@ -312,10 +312,12 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int __builtin_memcpy((void __force *) dst, src, count); } -#ifndef CONFIG_SUN3 -#define IO_SPACE_LIMIT 0xffff -#else +#if defined(CONFIG_SUN3) #define IO_SPACE_LIMIT 0x0fffffff +#elif defined(CONFIG_COLDFIRE) +#define IO_SPACE_LIMIT 0xffffffff +#else +#define IO_SPACE_LIMIT 0xffff #endif #endif /* __KERNEL__ */