diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-01-15 10:48:56 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-01-22 12:10:33 +0530 |
commit | 046cc16e8be254e18df49da63fa521d2f54e3ce1 (patch) | |
tree | 1e4b5ca3df5daf1dd9b311ab128435373dae8c16 /lib/sbi/sbi_ipi.c | |
parent | 0492c5d92ba0b0e39c235cffdb8791769e22d479 (diff) |
lib: Move struct sbi_ipi_data definition to sbi_ipi.c
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>
Diffstat (limited to 'lib/sbi/sbi_ipi.c')
-rw-r--r-- | lib/sbi/sbi_ipi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sbi/sbi_ipi.c b/lib/sbi/sbi_ipi.c index 3c50503..e5ebfb5 100644 --- a/lib/sbi/sbi_ipi.c +++ b/lib/sbi/sbi_ipi.c @@ -20,6 +20,10 @@ #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, |