path: root/arch/avr32/include
diff options
authorLuis R. Rodriguez <>2015-07-28 20:17:13 +0200
committerIngo Molnar <>2015-07-29 10:02:36 +0200
commit4c73e8926623ca0f64c2c6111289ab8096fa647a (patch)
tree21b1a19af4460c7d0df72d91be6f7a6387348d7e /arch/avr32/include
parent7d89a3cb159aecb1b363ea50cb14c967ff83b5a6 (diff)
arch/*/io.h: Add ioremap_uc() to all architectures
This adds ioremap_uc() only for architectures that do not include asm-generic.h/io.h as that already provides a default definition for them for both cases where you have CONFIG_MMU and you do not, and because of this, the number of architectures this patch address is less than the architectures that the ioremap_wt() patch addressed, "arch/*/io.h: Add ioremap_wt() to all architectures"). In order to reduce the number of architectures we have to modify by adding new architecture IO APIs we'll have to review the architectures in this patch, see why they can't add asm-generic.h/io.h or issues that would be created by doing so and then spread a consistent inclusion of this header towards the end of their own header. For instance arch/metag includes the asm-generic/io.h *before* the ioremap*() definitions, this should be the other way around but only once we have guard wrappers for the non-MMU case also for asm-generic/io.h. Reported-by: Stephen Rothwell <> Signed-off-by: Luis R. Rodriguez <> Cc: Abhilash Kesavan <> Cc: Benjamin Herrenschmidt <> Cc: Borislav Petkov <> Cc: Chris Metcalf <> Cc: David Howells <> Cc: Fengguang Wu <> Cc: Geert Uytterhoeven <> Cc: Greg Kroah-Hartman <> Cc: Greg Ungerer <> Cc: Guenter Roeck <> Cc: Haavard Skinnemoen <> Cc: Hans-Christian Egtvedt <> Cc: Koichi Yasutake <> Cc: Kyle McMartin <> Cc: Linus Torvalds <> Cc: Michael Ellerman <> Cc: Paul Mackerras <> Cc: Peter Hurley <> Cc: Peter Zijlstra <> Cc: Rob Herring <> Cc: Thomas Gleixner <> Cc: Toshi Kani <> Cc: Will Deacon <> Cc: Cc: Cc: Cc: Cc: Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'arch/avr32/include')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/io.h b/arch/avr32/include/asm/io.h
index e998ff5..f855646 100644
--- a/arch/avr32/include/asm/io.h
+++ b/arch/avr32/include/asm/io.h
@@ -297,6 +297,7 @@ extern void __iounmap(void __iomem *addr);
#define ioremap_wc ioremap_nocache
#define ioremap_wt ioremap_nocache
+#define ioremap_uc ioremap_nocache
#define cached(addr) P1SEGADDR(addr)
#define uncached(addr) P2SEGADDR(addr)