All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: io: Define ioremap_uc
@ 2015-10-05 23:56 Ben Hutchings
  2015-10-06 11:21 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2015-10-05 23:56 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, Luis R. Rodriguez

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

All architectures must now define ioremap_uc(), but MIPS currently
only has ioremap_nocache().

Fixes: 4c73e8926623 ("arch/*/io.h: Add ioremap_uc() to all architectures")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
---
 arch/mips/include/asm/io.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 9e777cd..d10fd80 100644
--- a/arch/mips/include/asm/io.h
+++ b/arch/mips/include/asm/io.h
@@ -256,6 +256,7 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si
  */
 #define ioremap_nocache(offset, size)					\
 	__ioremap_mode((offset), (size), _CACHE_UNCACHED)
+#define ioremap_uc ioremap_nocache
 
 /*
  * ioremap_cachable -	map bus memory into CPU space
-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: io: Define ioremap_uc
  2015-10-05 23:56 [PATCH] MIPS: io: Define ioremap_uc Ben Hutchings
@ 2015-10-06 11:21 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2015-10-06 11:21 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: linux-mips, Luis R. Rodriguez

On Tue, Oct 06, 2015 at 12:56:56AM +0100, Ben Hutchings wrote:

> All architectures must now define ioremap_uc(), but MIPS currently
> only has ioremap_nocache().
> 
> Fixes: 4c73e8926623 ("arch/*/io.h: Add ioremap_uc() to all architectures")
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> Cc: Luis R. Rodriguez <mcgrof@suse.com>

Applied.

Thanks!

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-06 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 23:56 [PATCH] MIPS: io: Define ioremap_uc Ben Hutchings
2015-10-06 11:21 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.