diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2019-10-16 15:06:27 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-13 08:50:58 +0100 |
commit | a59c5bc79eea008a7141200332323e4041e2fbeb (patch) | |
tree | ce71f709ddc6cc60751498d613e13f52874647c0 /arch/sparc | |
parent | 2f5eb8d64fa587d41d8e8efe24d7c146a5a343e7 (diff) | |
download | linux-stable-a59c5bc79eea008a7141200332323e4041e2fbeb.tar.gz linux-stable-a59c5bc79eea008a7141200332323e4041e2fbeb.tar.bz2 linux-stable-a59c5bc79eea008a7141200332323e4041e2fbeb.zip |
sparc64: implement ioremap_uc
commit 38e45d81d14e5f78cd67922596b1c37b4c22ec74 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/io_64.h | 1 |
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 b162c23ae8c2..7a836d21ff0c 100644 --- a/arch/sparc/include/asm/io_64.h +++ b/arch/sparc/include/asm/io_64.h @@ -409,6 +409,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)) |