riscv: Correct a comment in io.h
PATCH 1/1 riscv: Correct a comment in io.h
Replace NDS32 with RISC-V in the comments.
Signed-off-by Bin Meng <[email protected]>
---
arch/riscv/include/asm/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/asm/io.h +1 -1
@@ -180,7 +180,7 @@ static inline u64 readq(const volatile void __iomem *addr)* IO port access primitives * ------------------------- * -* The NDS32 doesn't have special IO access instructions just like ARM; +* The RISC-V doesn't have special IO access instructions just like ARM; * all IO is memory mapped. * Note that these are defined to perform little endian accesses * only. Their primary purpose is to access PCI and ISA peripherals.
Signature · 1 line
2.25.1
A message that is not in the archive (sent off-list or not yet received): PU1PR03MB299708B7D6E146FCEE82D0A5C1919@PU1PR03MB2997.apcprd03.prod.outlook.com
Rick Chen
Reviewed-byQuoted 18 lines
From: Bin Meng <[email protected]>
Sent: Monday, April 03, 2023 11:38 AM
To: Leo Yu-Chi Liang(梁育齊) <[email protected]>; Rick Jian-Zhi Chen(陳建志) <[email protected]>
Cc: [email protected]
Subject: [PATCH] riscv: Correct a comment inio.hReplace NDS32 with RISC-V in the comments.
Signed-off-by Bin Meng <[email protected]>---
arch/riscv/include/asm/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/asm/io.h static inline u64 readq(const volatile void __iomem *addr) · line 186
Quoted 9 lines
arch/riscv/include/asm/io.h +2
-1@@ -180,7 +180,7 @@ static inline u64 readq(const volatile void __iomem *addr)* IO port access primitives * ------------------------- * -* The NDS32 doesn't have special IO access instructions just like ARM; +* The RISC-V doesn't have special IO access instructions just like +ARM; * all IO is memory mapped. * Note that these are defined to perform little endian accesses * only. Their primary purpose is to access PCI and ISA peripherals.
Reviewed-by Rick Chen <[email protected]>