summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/memcpy.S
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2023-10-24 16:26:51 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-11-06 20:42:05 +0300
commitb18f7296fbfdb2ad0871f00f3042fc74663d52ac (patch)
tree369db0c89beaa06d6aee736f0fb91d473c2292af /arch/riscv/lib/memcpy.S
parent57a4542cb7c9baa1509c3366b57a08d75b212ead (diff)
downloadlinux-b18f7296fbfdb2ad0871f00f3042fc74663d52ac.tar.xz
riscv: use ".L" local labels in assembly when applicable
For the sake of coherency, use local labels in assembly when applicable. This also avoid kprobes being confused when applying a kprobe since the size of function is computed by checking where the next visible symbol is located. This might end up in computing some function size to be way shorter than expected and thus failing to apply kprobes to the specified offset. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20231024132655.730417-2-cleger@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/lib/memcpy.S')
0 files changed, 0 insertions, 0 deletions