Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1197918 > unrolled thread

[PATCH -next] alpha: Define ioremap_uc and ioremap_wc

Started byGuenter Roeck <linux@roeck-us.net>
First post2015-08-01 04:40 +0200
Last post2015-08-01 04:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] alpha: Define ioremap_uc and ioremap_wc Guenter Roeck <linux@roeck-us.net> - 2015-08-01 04:40 +0200

#1197918 — [PATCH -next] alpha: Define ioremap_uc and ioremap_wc

FromGuenter Roeck <linux@roeck-us.net>
Date2015-08-01 04:40 +0200
Subject[PATCH -next] alpha: Define ioremap_uc and ioremap_wc
Message-ID<pSuSl-88Z-3@gated-at.bofh.it>
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>
---
 arch/alpha/include/asm/io.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h
index f05bdb4b1cb9..7edfe6bf0ee6 100644
--- a/arch/alpha/include/asm/io.h
+++ b/arch/alpha/include/asm/io.h
@@ -299,6 +299,9 @@ 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)
 {
 	IO_CONCAT(__IO_PREFIX,iounmap)(addr);
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web