diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-27 12:16:16 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 13:32:58 +0530 |
commit | 648507a86791d4558e96c9876e757cee2c30b203 (patch) | |
tree | 73685dc3dc1103fb30c6cf6d8c79d1c5cd3f620a /lib/sbi/sbi_tlb.c | |
parent | 0a28ea54dce4140593a55dd61606437595ebe53d (diff) |
include: sbi_console: Remove scratch parameter from sbi_dprintf()
This patch removes scratch parameter from sbi_dprintf() function
because sbi_dprintf() can use sbi_scratch_thishart_ptr() to get
current HART scratch space.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_tlb.c b/lib/sbi/sbi_tlb.c index 5e39da4..d857162 100644 --- a/lib/sbi/sbi_tlb.c +++ b/lib/sbi/sbi_tlb.c @@ -359,7 +359,7 @@ static int sbi_tlb_update(struct sbi_scratch *scratch, * this properly. */ sbi_tlb_process_count(scratch, 1); - sbi_dprintf(remote_scratch, "hart%d: hart%d tlb fifo full\n", + sbi_dprintf("hart%d: hart%d tlb fifo full\n", curr_hartid, remote_hartid); } |