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


Groups > linux.kernel > #1224045 > unrolled thread

[PATCH 1/2] alpha: io: define ioremap_uc

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2015-09-14 13:50 +0200
Last post2015-09-14 13:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/2] alpha: io: define ioremap_uc Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-14 13:50 +0200

#1224045 — [PATCH 1/2] alpha: io: define ioremap_uc

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-09-14 13:50 +0200
Subject[PATCH 1/2] alpha: io: define ioremap_uc
Message-ID<q8AqK-589-13@gated-at.bofh.it>
ioremap_uc was not defined and as a result while building with
allmodconfig were getting build error of:
implicit declaration of function 'ioremap_uc'.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 arch/alpha/include/asm/io.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h
index f05bdb4..ff40491 100644
--- a/arch/alpha/include/asm/io.h
+++ b/arch/alpha/include/asm/io.h
@@ -297,7 +297,9 @@ static inline void __iomem * ioremap_nocache(unsigned long offset,
 					     unsigned long size)
 {
 	return ioremap(offset, size);
-} 
+}
+
+#define ioremap_uc ioremap_nocache
 
 static inline void iounmap(volatile void __iomem *addr)
 {
-- 
1.9.1

--
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