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>
This commit is contained in:
Anup Patel
2020-03-27 11:26:11 +05:30
committed by Anup Patel
parent 54b2779cfe
commit 9e52a45f4b
7 changed files with 22 additions and 24 deletions

View File

@@ -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;