diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-27 08:56:11 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 11:02:47 +0300 |
commit | 9e52a45f4be89df7000dcc1009af669e2e30d850 (patch) | |
tree | 011f55689b9a5c695ee3b396af90341cdc6972c2 /lib/sbi/sbi_ecall_replace.c | |
parent | 54b2779cfeeaaf7752df19deba56b79bad1caea6 (diff) | |
download | opensbi-9e52a45f4be89df7000dcc1009af669e2e30d850.tar.xz |
include: sbi_ipi: Remove scratch parameter from most functions
This patch removes scratch parameter from most sbi_ipi functions.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_ecall_replace.c')
-rw-r--r-- | lib/sbi/sbi_ecall_replace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sbi/sbi_ecall_replace.c b/lib/sbi/sbi_ecall_replace.c index 585b16c..7ef817d 100644 --- a/lib/sbi/sbi_ecall_replace.c +++ b/lib/sbi/sbi_ecall_replace.c @@ -113,8 +113,7 @@ static int sbi_ecall_ipi_handler(unsigned long extid, unsigned long funcid, int ret = 0; if (funcid == SBI_EXT_IPI_SEND_IPI) - ret = sbi_ipi_send_smode(sbi_scratch_thishart_ptr(), - args[0], args[1]); + ret = sbi_ipi_send_smode(args[0], args[1]); else ret = SBI_ENOTSUPP; |