summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/head.S
diff options
context:
space:
mode:
authorMichael Clark <michaeljclark@mac.com>2018-02-15 21:30:29 +0100
committerPalmer Dabbelt <palmer@sifive.com>2018-02-20 19:56:26 +0100
commit8b08f50152ff85a4780e5c385d2b65889406e842 (patch)
treecd393b1fa360a62e686805cb7d2f0b5ef1e16a4d /arch/riscv/kernel/head.S
parentRISC-V: Enable IRQ during exception handling (diff)
downloadlinux-8b08f50152ff85a4780e5c385d2b65889406e842.tar.xz
linux-8b08f50152ff85a4780e5c385d2b65889406e842.zip
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/head.S')
-rw-r--r--arch/riscv/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S
index 226eeb190f90..6e07ed37bbff 100644
--- a/arch/riscv/kernel/head.S
+++ b/arch/riscv/kernel/head.S
@@ -64,7 +64,7 @@ ENTRY(_start)
/* Start the kernel */
mv a0, s0
mv a1, s1
- call sbi_save
+ call parse_dtb
tail start_kernel
relocate: