Skip to content

Commit

Permalink
sparc64: implement ioremap_uc
Browse files Browse the repository at this point in the history
commit 38e45d8 upstream.

On sparc64, the whole physical IO address space is accessible using
physically addressed loads and stores. *_uc does nothing like the
others.

Cc: <[email protected]> # v4.19+
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Tuowen Zhao <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
ztuowen authored and gregkh committed Dec 13, 2019
1 parent b5e2dee commit c3277e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/include/asm/io_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit c3277e6

Please sign in to comment.