summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_tlb.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-27 08:28:47 +0300
committerAnup Patel <anup@brainfault.org>2020-03-28 11:02:44 +0300
commit54b2779cfeeaaf7752df19deba56b79bad1caea6 (patch)
tree3c30256b912faa312f5dda584779e23a0dacc10f /include/sbi/sbi_tlb.h
parentdd0f21c560f7139fc0c30bea1c264d8cb09144fe (diff)
downloadopensbi-54b2779cfeeaaf7752df19deba56b79bad1caea6.tar.xz
include: sbi_tlb: Remove scratch parameter from sbi_tlb_request()
The sbi_ipi_send_many() should get current HART scratch pointer on it's own using eventually hence removing scratch parameter from sbi_tlb_request(). Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_tlb.h')
-rw-r--r--include/sbi/sbi_tlb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sbi/sbi_tlb.h b/include/sbi/sbi_tlb.h
index 67c3900..6a07ee2 100644
--- a/include/sbi/sbi_tlb.h
+++ b/include/sbi/sbi_tlb.h
@@ -53,8 +53,7 @@ do { \
#define SBI_TLB_INFO_SIZE sizeof(struct sbi_tlb_info)
-int sbi_tlb_request(struct sbi_scratch *scratch, ulong hmask,
- ulong hbase, struct sbi_tlb_info *tinfo);
+int sbi_tlb_request(ulong hmask, ulong hbase, struct sbi_tlb_info *tinfo);
int sbi_tlb_init(struct sbi_scratch *scratch, bool cold_boot);