aboutsummaryrefslogtreecommitdiff
path: root/include/sbi/sbi_ipi.h
diff options
context:
space:
mode:
authorAnup patel <anup.patel@wdc.com>2019-01-22 14:20:59 +0530
committerAnup Patel <anup@brainfault.org>2019-01-23 08:39:26 +0530
commit18ec89e46e3cf8011b30deded6ea8d77720bdb3c (patch)
treee2fcd2f5fa1928a0f9b7d2b2c2dc8b42296d5d1e /include/sbi/sbi_ipi.h
parentfea9e2b5f37446845bec3cc9e2edd6f8308c2332 (diff)
lib: Remove source_hart and hartid parameter from IPI callbacks
The source_hart and hartid parameter is really not required in IPI callbacks of sbi_platform because current hartid can always be obtained by calling sbi_current_hartid() API. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_ipi.h')
-rw-r--r--include/sbi/sbi_ipi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sbi/sbi_ipi.h b/include/sbi/sbi_ipi.h
index d7c0576..188f84e 100644
--- a/include/sbi/sbi_ipi.h
+++ b/include/sbi/sbi_ipi.h
@@ -20,12 +20,12 @@
struct sbi_scratch;
int sbi_ipi_send_many(struct sbi_scratch *scratch,
- u32 hartid, ulong *pmask, u32 event);
+ ulong *pmask, u32 event);
-void sbi_ipi_clear_smode(struct sbi_scratch *scratch, u32 hartid);
+void sbi_ipi_clear_smode(struct sbi_scratch *scratch);
-void sbi_ipi_process(struct sbi_scratch *scratch, u32 hartid);
+void sbi_ipi_process(struct sbi_scratch *scratch);
-int sbi_ipi_init(struct sbi_scratch *scratch, u32 hartid, bool cold_boot);
+int sbi_ipi_init(struct sbi_scratch *scratch, bool cold_boot);
#endif