diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-23 05:43:29 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-23 06:09:26 +0300 |
commit | 025d0ae994e5663e8c2ca0e16c42e814abac027d (patch) | |
tree | e8bfe27e49dda65db35e213fd00d7fb994bb451f /lib | |
parent | 36394d2f2429c48d1db4e26ad25f9541c8c1027f (diff) | |
download | opensbi-025d0ae994e5663e8c2ca0e16c42e814abac027d.tar.xz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sbi_hart.c | 2 | ||||
-rw-r--r-- | lib/sbi_ipi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbi_hart.c b/lib/sbi_hart.c index 68e492c..dfa474c 100644 --- a/lib/sbi_hart.c +++ b/lib/sbi_hart.c @@ -331,7 +331,7 @@ void sbi_hart_wake_coldboot_harts(struct sbi_scratch *scratch, u32 hartid) /* send an IPI to every other hart */ spin_lock(&coldboot_wait_bitmap_lock); if ((i != hartid) && (coldboot_wait_bitmap & (1UL << i))) - sbi_platform_ipi_inject(plat, i); + sbi_platform_ipi_send(plat, i); spin_unlock(&coldboot_wait_bitmap_lock); } } diff --git a/lib/sbi_ipi.c b/lib/sbi_ipi.c index 4ff02c6..55896b2 100644 --- a/lib/sbi_ipi.c +++ b/lib/sbi_ipi.c @@ -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); } |