sparc64: implement ioremap_uc
authorTuowen Zhao <ztuowen@gmail.com>
Wed, 16 Oct 2019 21:06:27 +0000 (15:06 -0600)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:39:54 +0000 (08:39 +0000)
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>
arch/sparc/include/asm/io_64.h

index 688911051b4461b458924ab7066994d90304438f..f4afa301954a2fd039c42d4e20f50d93f16ae959 100644 (file)
@@ -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))