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 /platform/qemu | |
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 'platform/qemu')
-rw-r--r-- | platform/qemu/sifive_u/platform.c | 2 | ||||
-rw-r--r-- | platform/qemu/virt/platform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/qemu/sifive_u/platform.c b/platform/qemu/sifive_u/platform.c index e93554f..9f3da1c 100644 --- a/platform/qemu/sifive_u/platform.c +++ b/platform/qemu/sifive_u/platform.c @@ -138,7 +138,7 @@ struct sbi_platform platform = { .console_getc = sifive_uart_getc, .console_init = sifive_u_console_init, .irqchip_init = sifive_u_irqchip_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, .ipi_init = sifive_u_ipi_init, diff --git a/platform/qemu/virt/platform.c b/platform/qemu/virt/platform.c index c55b5fc..63f4747 100644 --- a/platform/qemu/virt/platform.c +++ b/platform/qemu/virt/platform.c @@ -139,7 +139,7 @@ struct sbi_platform platform = { .console_getc = uart8250_getc, .console_init = virt_console_init, .irqchip_init = virt_irqchip_init, - .ipi_inject = clint_ipi_inject, + .ipi_send = clint_ipi_send, .ipi_sync = clint_ipi_sync, .ipi_clear = clint_ipi_clear, .ipi_init = virt_ipi_init, |