diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-07-31 22:34:46 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2015-09-08 09:30:37 -0400 |
commit | 38d9029a652cb2925a97a8484f6e8f2c85fd55bb (patch) | |
tree | 9e9a47e95eaa580c58fc3131667fdca588cac06b /arch/parisc | |
parent | 4e4adb2f462889b9eac736dd06d60658beb091b6 (diff) |
parisc: Define ioremap_uc and ioremap_wc
Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole
with strong UC") introduces calls to ioremap_wc and ioremap_uc. This
causes build failures with parisc:allmodconfig. Map the missing
functions to ioremap_nocache.
Fixes: 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
Replace MTRR UC hole with strong UC")
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h index 8cd0abf28ffb..1a16f1d1075f 100644 --- a/arch/parisc/include/asm/io.h +++ b/arch/parisc/include/asm/io.h | |||
@@ -137,6 +137,8 @@ static inline void __iomem * ioremap(unsigned long offset, unsigned long size) | |||
137 | return __ioremap(offset, size, _PAGE_NO_CACHE); | 137 | return __ioremap(offset, size, _PAGE_NO_CACHE); |
138 | } | 138 | } |
139 | #define ioremap_nocache(off, sz) ioremap((off), (sz)) | 139 | #define ioremap_nocache(off, sz) ioremap((off), (sz)) |
140 | #define ioremap_wc ioremap_nocache | ||
141 | #define ioremap_uc ioremap_nocache | ||
140 | 142 | ||
141 | extern void iounmap(const volatile void __iomem *addr); | 143 | extern void iounmap(const volatile void __iomem *addr); |
142 | 144 | ||