include: Rename ipi_inject() to ipi_send() for sbi_platform

For better naming, we rename ipi_inject() to ipi_send() in
struct sbi_platform. We also replace term "inject" with
"send" in all related places.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2019-01-23 08:13:29 +05:30
committed by Anup Patel
parent 36394d2f24
commit 025d0ae994
9 changed files with 15 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ int sbi_ipi_send_many(struct sbi_scratch *scratch,
oth = sbi_hart_id_to_scratch(scratch, i);
atomic_raw_set_bit(event, &oth->ipi_type);
mb();
sbi_platform_ipi_inject(plat, i);
sbi_platform_ipi_send(plat, i);
if (event != SBI_IPI_EVENT_SOFT)
sbi_platform_ipi_sync(plat, i);
}