summaryrefslogtreecommitdiff
path: root/lib/utils/cache/cache.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2025-12-27 15:39:16 +0530
committerAnup Patel <[email protected]>2025-12-28 20:47:12 +0530
commit9a46ef43a45ee1c462c17a0fa62e03c955911192 (patch)
treebce10c79b8e78e33cadb819848e2820706e82d65 /lib/utils/cache/cache.c
parentf6fa62bd169e55f479b137da13ca83b27bb304a9 (diff)
include: Fix LLVM compile error in sbi_utils/hsm/fdt_hsm_sifive_inst.h
Currently, OpenSBI fails to compile for LLVM=1 using 2025.11.27 riscv-gnu-toolchain with the following error: In file included from opensbi/lib/utils/suspend/fdt_suspend_sifive_smc0.c:20: opensbi/include/sbi_utils/hsm/fdt_hsm_sifive_inst.h:17:23: error: expected instruction format 17 | __asm__ __volatile__(".insn 0xfc000073" ::: "memory"); | ^ <inline asm>:1:8: note: instantiated into assembly here 1 | .insn 0xfc000073 | ^ In file included from opensbi/lib/utils/suspend/fdt_suspend_sifive_smc0.c:20: opensbi/include/sbi_utils/hsm/fdt_hsm_sifive_inst.h:12:23: error: expected instruction format 12 | __asm__ __volatile__(".insn 0x30500073" ::: "memory"); | ^ <inline asm>:1:8: note: instantiated into assembly here 1 | .insn 0x30500073 | ^ 2 errors generated. To fix this compile error, use ".word" in-place ".insn". Fixes: 1514a327306b ("lib: utils/hsm: Add SiFive TMC0 driver") Signed-off-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cache/cache.c')
0 files changed, 0 insertions, 0 deletions