The struct sbi_ipi_data is only used in sbi_ipi.c so move it
to sbi_ipi.c from sbi_ipi.h.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
/* clang-format on */
struct sbi_scratch;
-struct sbi_trap_info;
-
-struct sbi_ipi_data {
- unsigned long ipi_type;
-};
int sbi_ipi_send_many(struct sbi_scratch *scratch, ulong hmask,
ulong hbase, u32 event, void *data);
#include <sbi/sbi_tlb.h>
#include <sbi/sbi_trap.h>
+struct sbi_ipi_data {
+ unsigned long ipi_type;
+};
+
static unsigned long ipi_data_off;
static int sbi_ipi_send(struct sbi_scratch *scratch, u32 hartid, u32 event,