Skip to content

Commit 7817ced

Browse files
groeckmattst88
authored andcommitted
alpha: Define ioremap_wc
Commit 3cc2dac ("drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC") introduces calls to ioremap_wc and ioremap_uc. This causes build failures with alpha:allmodconfig. Map the missing functions to ioremap_nocache. Fixes: 3cc2dac ("drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC") Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Luis R. Rodriguez <mcgrof@suse.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
1 parent 69f0678 commit 7817ced

File tree

1 file changed

+1
-0
lines changed
  • arch/alpha/include/asm

1 file changed

+1
-0
lines changed

arch/alpha/include/asm/io.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ static inline void __iomem * ioremap_nocache(unsigned long offset,
299299
return ioremap(offset, size);
300300
}
301301

302+
#define ioremap_wc ioremap_nocache
302303
#define ioremap_uc ioremap_nocache
303304

304305
static inline void iounmap(volatile void __iomem *addr)

0 commit comments

Comments
 (0)