aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/init/init.c')
-rw-r--r--arch/riscv64/init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv64/init/init.c b/arch/riscv64/init/init.c
index 5984d3c..c76c81c 100644
--- a/arch/riscv64/init/init.c
+++ b/arch/riscv64/init/init.c
@@ -56,9 +56,9 @@ void move_kernel()
#define __va_reg(reg) \
{ \
vm_t reg = 0; \
- __asm__("mv %0, " QUOTE(reg) : "=r"(reg)::); \
+ __asm__ ("mv %0, " QUOTE(reg) : "=r" (reg)::); \
reg = (vm_t)__va(reg); \
- __asm__("mv " QUOTE(reg) ", %0" ::"rK"(reg) :); \
+ __asm__ ("mv " QUOTE(reg) ", %0" ::"rK" (reg) :); \
}
void init(void *fdt)