summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2019-10-16 23:06:27 +0200
committerLee Jones <lee.jones@linaro.org>2019-11-11 09:39:54 +0100
commit38e45d81d14e5f78cd67922596b1c37b4c22ec74 (patch)
tree1c0c55fa13f82cbdc90b06976ea392ff877233af /arch/sparc/include
parentLinux 5.4-rc1 (diff)
downloadlinux-38e45d81d14e5f78cd67922596b1c37b4c22ec74.tar.xz
linux-38e45d81d14e5f78cd67922596b1c37b4c22ec74.zip
sparc64: implement ioremap_uc
On sparc64, the whole physical IO address space is accessible using physically addressed loads and stores. *_uc does nothing like the others. Cc: <stable@vger.kernel.org> # v4.19+ Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Tuowen Zhao <ztuowen@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/io_64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h
index 688911051b44..f4afa301954a 100644
--- a/arch/sparc/include/asm/io_64.h
+++ b/arch/sparc/include/asm/io_64.h
@@ -407,6 +407,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
}
#define ioremap_nocache(X,Y) ioremap((X),(Y))
+#define ioremap_uc(X,Y) ioremap((X),(Y))
#define ioremap_wc(X,Y) ioremap((X),(Y))
#define ioremap_wt(X,Y) ioremap((X),(Y))