]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arch/*/io.h: Add ioremap_wt() to all architectures
authorToshi Kani <toshi.kani@hp.com>
Thu, 4 Jun 2015 16:55:16 +0000 (18:55 +0200)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:32 +0000 (12:19 -0500)
commit289fbda07c37ce73228e98dc1c4b4f4759940339
tree565d91b04f23bac076cac5804d3c9fd896c60020
parentf83172212dc84b2ca59028f0423aa70b49f95b6a
arch/*/io.h: Add ioremap_wt() to all architectures

Add ioremap_wt() to all arch-specific asm/io.h headers which
define ioremap_wc() locally. These headers do not include
<asm-generic/iomap.h>. Some of them include <asm-generic/io.h>,
but ioremap_wt() is defined for consistency since they define
all ioremap_xxx locally.

In all architectures without Write-Through support, ioremap_wt()
is defined indentical to ioremap_nocache().

frv and m68k already have ioremap_writethrough(). On those we
add ioremap_wt() indetical to ioremap_writethrough() and defines
ARCH_HAS_IOREMAP_WT in both architectures.

The ioremap_wt() interface is exported to drivers.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Elliott@hp.com
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: arnd@arndb.de
Cc: hch@lst.de
Cc: hmh@hmh.eng.br
Cc: jgross@suse.com
Cc: konrad.wilk@oracle.com
Cc: linux-mm <linux-mm@kvack.org>
Cc: linux-nvdimm@lists.01.org
Cc: stefan.bader@canonical.com
Cc: yigal@plexistor.com
Link: http://lkml.kernel.org/r/1433436928-31903-9-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 556269c138a8b2d3f5714b8105fa6119ecc505f2)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
17 files changed:
arch/arc/include/asm/io.h
arch/arm/include/asm/io.h
arch/arm64/include/asm/io.h
arch/avr32/include/asm/io.h
arch/frv/include/asm/io.h
arch/m32r/include/asm/io.h
arch/m68k/include/asm/io_mm.h
arch/m68k/include/asm/io_no.h
arch/metag/include/asm/io.h
arch/microblaze/include/asm/io.h
arch/mn10300/include/asm/io.h
arch/nios2/include/asm/io.h
arch/s390/include/asm/io.h
arch/sparc/include/asm/io_32.h
arch/sparc/include/asm/io_64.h
arch/tile/include/asm/io.h
arch/xtensa/include/asm/io.h