Commit 72df61d9 authored by Kefeng Wang's avatar Kefeng Wang Committed by Palmer Dabbelt

riscv: sbi: Correct sbi_shutdown() and sbi_clear_ipi() export

Fix incorrect EXPORT_SYMBOL().

Fixes: efca1398 ("RISC-V: Introduce a new config for SBI v0.1")
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 3c1918c8
...@@ -102,7 +102,7 @@ void sbi_shutdown(void) ...@@ -102,7 +102,7 @@ void sbi_shutdown(void)
{ {
sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0); sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0);
} }
EXPORT_SYMBOL(sbi_set_timer); EXPORT_SYMBOL(sbi_shutdown);
/** /**
* sbi_clear_ipi() - Clear any pending IPIs for the calling hart. * sbi_clear_ipi() - Clear any pending IPIs for the calling hart.
...@@ -113,7 +113,7 @@ void sbi_clear_ipi(void) ...@@ -113,7 +113,7 @@ void sbi_clear_ipi(void)
{ {
sbi_ecall(SBI_EXT_0_1_CLEAR_IPI, 0, 0, 0, 0, 0, 0, 0); sbi_ecall(SBI_EXT_0_1_CLEAR_IPI, 0, 0, 0, 0, 0, 0, 0);
} }
EXPORT_SYMBOL(sbi_shutdown); EXPORT_SYMBOL(sbi_clear_ipi);
/** /**
* sbi_set_timer_v01() - Program the timer for next timer event. * sbi_set_timer_v01() - Program the timer for next timer event.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment