Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guenter Roeck and committed by
Helge Deller
38d9029a 4e4adb2f

+2
+2
arch/parisc/include/asm/io.h
··· 137 137 return __ioremap(offset, size, _PAGE_NO_CACHE); 138 138 } 139 139 #define ioremap_nocache(off, sz) ioremap((off), (sz)) 140 + #define ioremap_wc ioremap_nocache 141 + #define ioremap_uc ioremap_nocache 140 142 141 143 extern void iounmap(const volatile void __iomem *addr); 142 144