Skip to content

Commit 72df61d

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
riscv: sbi: Correct sbi_shutdown() and sbi_clear_ipi() export
Fix incorrect EXPORT_SYMBOL(). Fixes: efca139 ("RISC-V: Introduce a new config for SBI v0.1") Signed-off-by: Kefeng Wang <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 3c1918c commit 72df61d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/kernel/sbi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void sbi_shutdown(void)
102102
{
103103
sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0);
104104
}
105-
EXPORT_SYMBOL(sbi_set_timer);
105+
EXPORT_SYMBOL(sbi_shutdown);
106106

107107
/**
108108
* sbi_clear_ipi() - Clear any pending IPIs for the calling hart.
@@ -113,7 +113,7 @@ void sbi_clear_ipi(void)
113113
{
114114
sbi_ecall(SBI_EXT_0_1_CLEAR_IPI, 0, 0, 0, 0, 0, 0, 0);
115115
}
116-
EXPORT_SYMBOL(sbi_shutdown);
116+
EXPORT_SYMBOL(sbi_clear_ipi);
117117

118118
/**
119119
* sbi_set_timer_v01() - Program the timer for next timer event.

0 commit comments

Comments
 (0)