diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-01-07 19:01:25 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-01-07 19:04:38 +0200 |
| commit | c4bee44adf8e8377b2d8d7e8bcd83277b690821c (patch) | |
| tree | 4eb84d3809ca069983b508f4d40c490fb4195c58 /arch | |
| parent | 5fd0d48f6371f04e910730493ce908807af5c46a (diff) | |
| download | kmi-c4bee44adf8e8377b2d8d7e8bcd83277b690821c.tar.gz kmi-c4bee44adf8e8377b2d8d7e8bcd83277b690821c.zip | |
Prefix static functions with __
+ Probably completely unnecessary stylistic thing, but I'll roll with it
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv64/kernel/vmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv64/kernel/vmem.c b/arch/riscv64/kernel/vmem.c index adde661..0424948 100644 --- a/arch/riscv64/kernel/vmem.c +++ b/arch/riscv64/kernel/vmem.c @@ -137,7 +137,7 @@ void flush_tlb_all() __asm__ volatile ("sfence.vma\n" ::: "memory"); } -static void start_vmem(struct vm_branch *branch, enum mm_mode m) +static void __start_vmem(struct vm_branch *branch, enum mm_mode m) { branch = (struct vm_branch *)__pa(branch); @@ -160,7 +160,7 @@ struct vm_branch *init_vmem(void *fdt) populate_root_branch(b); /* update which memory branch to use */ - start_vmem(b, Sv39); + __start_vmem(b, Sv39); return b; } |
