All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Fix typo for user_ld macro definition
@ 2020-04-15  9:56 bibo mao
  2020-04-16 16:34 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: bibo mao @ 2020-04-15  9:56 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: linux-mips

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(-)

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 */
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Fix typo for user_ld macro definition
  2020-04-15  9:56 [PATCH] MIPS: Fix typo for user_ld macro definition bibo mao
@ 2020-04-16 16:34 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-04-16 16:34 UTC (permalink / raw)
  To: bibo mao; +Cc: linux-mips

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.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-16 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15  9:56 [PATCH] MIPS: Fix typo for user_ld macro definition bibo mao
2020-04-16 16:34 ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.