diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-27 11:26:11 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 13:32:47 +0530 |
commit | 9e52a45f4be89df7000dcc1009af669e2e30d850 (patch) | |
tree | 011f55689b9a5c695ee3b396af90341cdc6972c2 /lib/sbi/sbi_tlb.c | |
parent | 54b2779cfeeaaf7752df19deba56b79bad1caea6 (diff) |
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_tlb.c')
-rw-r--r-- | lib/sbi/sbi_tlb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sbi/sbi_tlb.c b/lib/sbi/sbi_tlb.c index 64ec28b..5e39da4 100644 --- a/lib/sbi/sbi_tlb.c +++ b/lib/sbi/sbi_tlb.c @@ -377,8 +377,7 @@ static u32 tlb_event = SBI_IPI_EVENT_MAX; int sbi_tlb_request(ulong hmask, ulong hbase, struct sbi_tlb_info *tinfo) { - return sbi_ipi_send_many(sbi_scratch_thishart_ptr(), - hmask, hbase, tlb_event, tinfo); + return sbi_ipi_send_many(hmask, hbase, tlb_event, tinfo); } int sbi_tlb_init(struct sbi_scratch *scratch, bool cold_boot) |