diff options
-rw-r--r-- | include/asm-mips/mach-tx49xx/ioremap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips/mach-tx49xx/ioremap.h b/include/asm-mips/mach-tx49xx/ioremap.h index 88cf546719b8..1e7beae72229 100644 --- a/include/asm-mips/mach-tx49xx/ioremap.h +++ b/include/asm-mips/mach-tx49xx/ioremap.h | |||
@@ -36,7 +36,8 @@ static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, | |||
36 | 36 | ||
37 | static inline int plat_iounmap(const volatile void __iomem *addr) | 37 | static inline int plat_iounmap(const volatile void __iomem *addr) |
38 | { | 38 | { |
39 | return (unsigned long)addr >= (unsigned long)(int)TXX9_DIRECTMAP_BASE; | 39 | return (unsigned long)addr >= |
40 | (unsigned long)(int)(TXX9_DIRECTMAP_BASE & 0xffffffff); | ||
40 | } | 41 | } |
41 | 42 | ||
42 | #endif /* __ASM_MACH_TX49XX_IOREMAP_H */ | 43 | #endif /* __ASM_MACH_TX49XX_IOREMAP_H */ |