diff options
| author | Anup Patel <[email protected]> | 2020-01-15 10:48:56 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-01-22 12:10:33 +0530 |
| commit | 046cc16e8be254e18df49da63fa521d2f54e3ce1 (patch) | |
| tree | 1e4b5ca3df5daf1dd9b311ab128435373dae8c16 /lib | |
| 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 <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib')
| -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 3c505035..e5ebfb5d 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, |
