diff mbox series

[v2,1/3] lib: sbi: rename sbi_misaligned_ldst.c to sbi_trap_ldst.c

Message ID 1707130200-559404-2-git-send-email-ganboing@gmail.com
State Changes Requested
Headers show
Series Allow platform to handle load/store faults | expand

Commit Message

Bo Gan Feb. 5, 2024, 10:49 a.m. UTC
Signed-off-by: Bo Gan <ganboing@gmail.com>
---
 lib/sbi/objects.mk                                 | 2 +-
 lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} (100%)

Comments

Anup Patel Feb. 27, 2024, 6:31 a.m. UTC | #1
On Mon, Feb 5, 2024 at 4:20 PM Bo Gan <ganboing@gmail.com> wrote:
>
> Signed-off-by: Bo Gan <ganboing@gmail.com>

LGTM.

Reviewed-by: Anup Patel <anup@brainfault.org>

Regards,
Anup


> ---
>  lib/sbi/objects.mk                                 | 2 +-
>  lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} | 0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} (100%)
>
> diff --git a/lib/sbi/objects.mk b/lib/sbi/objects.mk
> index 0a50e95..204dd6b 100644
> --- a/lib/sbi/objects.mk
> +++ b/lib/sbi/objects.mk
> @@ -70,7 +70,6 @@ libsbi-objs-y += sbi_illegal_insn.o
>  libsbi-objs-y += sbi_init.o
>  libsbi-objs-y += sbi_ipi.o
>  libsbi-objs-y += sbi_irqchip.o
> -libsbi-objs-y += sbi_misaligned_ldst.o
>  libsbi-objs-y += sbi_platform.o
>  libsbi-objs-y += sbi_pmu.o
>  libsbi-objs-y += sbi_dbtr.o
> @@ -80,6 +79,7 @@ libsbi-objs-y += sbi_system.o
>  libsbi-objs-y += sbi_timer.o
>  libsbi-objs-y += sbi_tlb.o
>  libsbi-objs-y += sbi_trap.o
> +libsbi-objs-y += sbi_trap_ldst.o
>  libsbi-objs-y += sbi_unpriv.o
>  libsbi-objs-y += sbi_expected_trap.o
>  libsbi-objs-y += sbi_cppc.o
> diff --git a/lib/sbi/sbi_misaligned_ldst.c b/lib/sbi/sbi_trap_ldst.c
> similarity index 100%
> rename from lib/sbi/sbi_misaligned_ldst.c
> rename to lib/sbi/sbi_trap_ldst.c
> --
> 2.7.4
>
diff mbox series

Patch

diff --git a/lib/sbi/objects.mk b/lib/sbi/objects.mk
index 0a50e95..204dd6b 100644
--- a/lib/sbi/objects.mk
+++ b/lib/sbi/objects.mk
@@ -70,7 +70,6 @@  libsbi-objs-y += sbi_illegal_insn.o
 libsbi-objs-y += sbi_init.o
 libsbi-objs-y += sbi_ipi.o
 libsbi-objs-y += sbi_irqchip.o
-libsbi-objs-y += sbi_misaligned_ldst.o
 libsbi-objs-y += sbi_platform.o
 libsbi-objs-y += sbi_pmu.o
 libsbi-objs-y += sbi_dbtr.o
@@ -80,6 +79,7 @@  libsbi-objs-y += sbi_system.o
 libsbi-objs-y += sbi_timer.o
 libsbi-objs-y += sbi_tlb.o
 libsbi-objs-y += sbi_trap.o
+libsbi-objs-y += sbi_trap_ldst.o
 libsbi-objs-y += sbi_unpriv.o
 libsbi-objs-y += sbi_expected_trap.o
 libsbi-objs-y += sbi_cppc.o
diff --git a/lib/sbi/sbi_misaligned_ldst.c b/lib/sbi/sbi_trap_ldst.c
similarity index 100%
rename from lib/sbi/sbi_misaligned_ldst.c
rename to lib/sbi/sbi_trap_ldst.c