Skip to content

Commit 38e45d8

Browse files
ztuowenLee Jones
authored andcommitted
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: <[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]>
1 parent 54ecb8f commit 38e45d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sparc/include/asm/io_64.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
407407
}
408408

409409
#define ioremap_nocache(X,Y) ioremap((X),(Y))
410+
#define ioremap_uc(X,Y) ioremap((X),(Y))
410411
#define ioremap_wc(X,Y) ioremap((X),(Y))
411412
#define ioremap_wt(X,Y) ioremap((X),(Y))
412413

0 commit comments

Comments
 (0)