diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-06-18 14:54:04 -0700 |
---|---|---|
committer | Anup Patel <anup.patel@wdc.com> | 2019-06-19 09:48:59 +0530 |
commit | 200ed7c1bdb4d39caf9d0126e3741e72982852b0 (patch) | |
tree | 11bff85604758f4af128920635091c42d84f1dfb /lib/sbi/sbi_tlb.c | |
parent | 793e5e1184f04012804914bd922e68536f3b68dd (diff) |
lib: Rename string.x to sbi_string.x
All string functions are part of libsbi. It makes more sense
to rename them to sbi_string.x as the libsbi can be linked
with external libraries that can have similar implementation.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_tlb.c')
-rw-r--r-- | lib/sbi/sbi_tlb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbi/sbi_tlb.c b/lib/sbi/sbi_tlb.c index 1031df3..cffda52 100644 --- a/lib/sbi/sbi_tlb.c +++ b/lib/sbi/sbi_tlb.c @@ -16,7 +16,7 @@ #include <sbi/sbi_bitops.h> #include <sbi/sbi_scratch.h> #include <sbi/sbi_tlb.h> -#include <sbi/string.h> +#include <sbi/sbi_string.h> static unsigned long ipi_tlb_fifo_off; static unsigned long ipi_tlb_fifo_mem_off; @@ -190,7 +190,7 @@ void sbi_tlb_fifo_process(struct sbi_scratch *scratch, u32 event) sbi_tlb_fifo_sfence_vma(&tinfo); else if (tinfo.type == SBI_TLB_FLUSH_VMA_ASID) sbi_tlb_fifo_sfence_vma_asid(&tinfo); - memset(&tinfo, 0, SBI_TLB_INFO_SIZE); + sbi_memset(&tinfo, 0, SBI_TLB_INFO_SIZE); } } |