RISC-V: Export sbi_get_mvendorid() and friends
authorAnup Patel <apatel@ventanamicro.com>
Wed, 7 Dec 2022 03:47:38 +0000 (09:17 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 7 Dec 2022 03:47:38 +0000 (09:17 +0530)
commita1a44e227ce69459ca43aa9dadaa1b58619b18ee
tree7cee276366fc3edf936f861e1b7b59cfa5437bb0
parent23fe562e45c5959590a24d05c61c963f10ccb934
RISC-V: Export sbi_get_mvendorid() and friends

The sbi_get_mvendorid(), sbi_get_marchid(), and sbi_get_mimpid()
can be used by KVM module so let us export these functions.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kernel/sbi.c