aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm')
-rw-r--r--arch/mn10300/include/asm/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/io.h b/arch/mn10300/include/asm/io.h
index 139df8c53de8..e6ed0d897ccc 100644
--- a/arch/mn10300/include/asm/io.h
+++ b/arch/mn10300/include/asm/io.h
@@ -14,6 +14,7 @@
14#include <asm/page.h> /* I/O is all done through memory accesses */ 14#include <asm/page.h> /* I/O is all done through memory accesses */
15#include <asm/cpu-regs.h> 15#include <asm/cpu-regs.h>
16#include <asm/cacheflush.h> 16#include <asm/cacheflush.h>
17#include <asm-generic/pci_iomap.h>
17 18
18#define mmiowb() do {} while (0) 19#define mmiowb() do {} while (0)
19 20
@@ -258,7 +259,7 @@ static inline void __iomem *__ioremap(unsigned long offset, unsigned long size,
258 259
259static inline void __iomem *ioremap(unsigned long offset, unsigned long size) 260static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
260{ 261{
261 return (void __iomem *) offset; 262 return (void __iomem *)(offset & ~0x20000000);
262} 263}
263 264
264/* 265/*