summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/asm-eva.h
diff options
context:
space:
mode:
authorbibo mao <maobibo@loongson.cn>2020-04-15 12:56:43 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-16 18:30:16 +0300
commit5ceb89f8a301b2d5c2ffa20c9b41eb2501360113 (patch)
treee90ab8cf7dc87a9450f1b260229ce7f76dab947c /arch/mips/include/asm/asm-eva.h
parente82c878d49bf58f3f2199cba00400530856ad11e (diff)
downloadlinux-5ceb89f8a301b2d5c2ffa20c9b41eb2501360113.tar.xz
MIPS: Fix typo for user_ld macro definition
There is typo for macro user_ld if __ASSEMBLY__ is declared, this patch fixes this issue. Signed-off-by: bibo mao <maobibo@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/asm-eva.h')
-rw-r--r--arch/mips/include/asm/asm-eva.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/asm-eva.h b/arch/mips/include/asm/asm-eva.h
index d80be38c4144..e327ebc76753 100644
--- a/arch/mips/include/asm/asm-eva.h
+++ b/arch/mips/include/asm/asm-eva.h
@@ -180,7 +180,7 @@
#define user_ld(reg, addr) kernel_lw(reg, addr)
#else
#define user_sd(reg, addr) kernel_sd(reg, addr)
-#define user_ld(reg, addr) kernel_sd(reg, addr)
+#define user_ld(reg, addr) kernel_ld(reg, addr)
#endif /* CONFIG_32BIT */
#endif /* CONFIG_EVA */