Commit 5ceb89f8 authored by bibo mao's avatar bibo mao Committed by Thomas Bogendoerfer

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: default avatarbibo mao <maobibo@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent e82c878d
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
#define user_ld(reg, addr) kernel_lw(reg, addr) #define user_ld(reg, addr) kernel_lw(reg, addr)
#else #else
#define user_sd(reg, addr) kernel_sd(reg, addr) #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_32BIT */
#endif /* CONFIG_EVA */ #endif /* CONFIG_EVA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment