summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/setup.c
diff options
context:
space:
mode:
authorMichael Clark <michaeljclark@mac.com>2018-02-16 09:30:29 +1300
committerPalmer Dabbelt <palmer@sifive.com>2018-02-20 10:56:26 -0800
commit8b08f50152ff85a4780e5c385d2b65889406e842 (patch)
treecd393b1fa360a62e686805cb7d2f0b5ef1e16a4d /arch/riscv/kernel/setup.c
parentbcae803a213172c79ab5d077f169e3428e44d2ba (diff)
downloadlinux-8b08f50152ff85a4780e5c385d2b65889406e842.tar.bz2
Rename sbi_save to parse_dtb to improve code readability
The sbi_ prefix would seem to indicate an SBI interface, and save is not very specific. After applying this patch, reading head.S makes more sense. Signed-off-by: Michael Clark <michaeljclark@mac.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/setup.c')
-rw-r--r--arch/riscv/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
index 09f7064e898c..c11f40c1b2a8 100644
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -144,7 +144,7 @@ asmlinkage void __init setup_vm(void)
#endif
}
-void __init sbi_save(unsigned int hartid, void *dtb)
+void __init parse_dtb(unsigned int hartid, void *dtb)
{
early_init_dt_scan(__va(dtb));
}