summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/io.h')
-rw-r--r--arch/mn10300/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/io.h b/arch/mn10300/include/asm/io.h
index 139df8c53de8..70f1c06e29de 100644
--- a/arch/mn10300/include/asm/io.h
+++ b/arch/mn10300/include/asm/io.h
@@ -258,7 +258,7 @@ static inline void __iomem *__ioremap(unsigned long offset, unsigned long size,
static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
{
- return (void __iomem *) offset;
+ return (void __iomem *)(offset & ~0x20000000);
}
/*