diff options
author | bibo mao <maobibo@loongson.cn> | 2020-04-15 12:56:43 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-16 18:30:16 +0300 |
commit | 5ceb89f8a301b2d5c2ffa20c9b41eb2501360113 (patch) | |
tree | e90ab8cf7dc87a9450f1b260229ce7f76dab947c | |
parent | e82c878d49bf58f3f2199cba00400530856ad11e (diff) | |
download | linux-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>
-rw-r--r-- | arch/mips/include/asm/asm-eva.h | 2 |
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 */ |