diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-27 11:26:11 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 13:32:47 +0530 |
commit | 9e52a45f4be89df7000dcc1009af669e2e30d850 (patch) | |
tree | 011f55689b9a5c695ee3b396af90341cdc6972c2 /include/sbi/sbi_ipi.h | |
parent | 54b2779cfeeaaf7752df19deba56b79bad1caea6 (diff) |
include: sbi_ipi: Remove scratch parameter from most functions
This patch removes scratch parameter from most sbi_ipi functions.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_ipi.h')
-rw-r--r-- | include/sbi/sbi_ipi.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/sbi/sbi_ipi.h b/include/sbi/sbi_ipi.h index bf91142..617872c 100644 --- a/include/sbi/sbi_ipi.h +++ b/include/sbi/sbi_ipi.h @@ -49,20 +49,19 @@ struct sbi_ipi_event_ops { void (* process)(struct sbi_scratch *scratch); }; -int sbi_ipi_send_many(struct sbi_scratch *scratch, ulong hmask, - ulong hbase, u32 event, void *data); +int sbi_ipi_send_many(ulong hmask, ulong hbase, u32 event, void *data); int sbi_ipi_event_create(const struct sbi_ipi_event_ops *ops); void sbi_ipi_event_destroy(u32 event); -int sbi_ipi_send_smode(struct sbi_scratch *scratch, ulong hmask, ulong hbase); +int sbi_ipi_send_smode(ulong hmask, ulong hbase); -void sbi_ipi_clear_smode(struct sbi_scratch *scratch); +void sbi_ipi_clear_smode(void); -int sbi_ipi_send_halt(struct sbi_scratch *scratch, ulong hmask, ulong hbase); +int sbi_ipi_send_halt(ulong hmask, ulong hbase); -void sbi_ipi_process(struct sbi_scratch *scratch); +void sbi_ipi_process(void); int sbi_ipi_init(struct sbi_scratch *scratch, bool cold_boot); |