From 1419cd774109210d5d3c2da888af34b51bd3ec6e Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 26 Feb 2011 18:31:40 +0100 Subject: [PATCH] IO_SPACE_LIMIT extended to 0xffffffff --- arch/m68k/include/asm/io_mm.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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__ */ -- 2.39.2