aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/init
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:40:53 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:41:08 +0300
commitb096078c282af7233062ba242a213e6f5574cfb1 (patch)
tree56f08b2898d4721255c8a91caa7b1978488959c6 /arch/riscv64/init
parent20d9959b74fdfba26250579f8a75374042bfaaaf (diff)
downloadkmi-b096078c282af7233062ba242a213e6f5574cfb1.tar.gz
kmi-b096078c282af7233062ba242a213e6f5574cfb1.zip
switch from clang-format to uncrustify
The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes.
Diffstat (limited to 'arch/riscv64/init')
-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)