diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-08-01 04:32:39 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2017-08-29 21:01:57 +0200 |
commit | 7817cedce04325bed7b618386a245fb461233746 (patch) | |
tree | d6d98a3cc71d2de0e652d421a48c775caec9fa3f /arch/alpha/include/asm/io.h | |
parent | alpha: Fix section mismatches (diff) | |
download | linux-7817cedce04325bed7b618386a245fb461233746.tar.xz linux-7817cedce04325bed7b618386a245fb461233746.zip |
alpha: Define 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 alpha:allmodconfig. Map the missing functions
to ioremap_nocache.
Fixes: 3cc2dac5be3f ("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>
Diffstat (limited to 'arch/alpha/include/asm/io.h')
-rw-r--r-- | arch/alpha/include/asm/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h index ff4049155c84..4d61d2a50c52 100644 --- a/arch/alpha/include/asm/io.h +++ b/arch/alpha/include/asm/io.h @@ -299,6 +299,7 @@ static inline void __iomem * ioremap_nocache(unsigned long offset, return ioremap(offset, size); } +#define ioremap_wc ioremap_nocache #define ioremap_uc ioremap_nocache static inline void iounmap(volatile void __iomem *addr) |