Message ID | 1586944603-5107-1-git-send-email-maobibo@loongson.cn (mailing list archive) |
---|---|
State | Mainlined |
Commit | 5ceb89f8a301b2d5c2ffa20c9b41eb2501360113 |
Headers | show |
Series | MIPS: Fix typo for user_ld macro definition | expand |
On Wed, Apr 15, 2020 at 05:56:43PM +0800, bibo mao wrote: > There is typo for macro user_ld if __ASSEMBLY__ is declared, this > patch fixes this issue. > > Signed-off-by: bibo mao <maobibo@loongson.cn> > --- > arch/mips/include/asm/asm-eva.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to mips-next. Thomas.
diff --git a/arch/mips/include/asm/asm-eva.h b/arch/mips/include/asm/asm-eva.h index d80be38..e327ebc 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 */
There is typo for macro user_ld if __ASSEMBLY__ is declared, this patch fixes this issue. Signed-off-by: bibo mao <maobibo@loongson.cn> --- arch/mips/include/asm/asm-eva.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)