mirror_ubuntu-kernels/tools/testing/selftests/powerpc/copyloops/asm
Nicholas Piggin 4e991e3c16 powerpc: add CFUNC assembly label annotation
This macro is to be used in assembly where C functions are called.
pcrel addressing mode requires branches to functions with a
localentry value of 1 to have either a trailing nop or @notoc.
This macro permits the latter without changing callers.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add dummy definitions to fix selftests build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230408021752.862660-5-npiggin@gmail.com
2023-04-20 12:54:24 +10:00
..
asm-compat.h powerpc: move ASM_CONST and stringify_in_c() into asm-const.h 2018-07-30 22:48:16 +10:00
export.h seltests/powerpc: Add a selftest for memcpy_mcsafe 2019-09-12 09:27:00 +10:00
feature-fixups.h powerpc: clean inclusions of asm/feature-fixups.h 2018-07-30 22:48:17 +10:00
kasan.h powerpc: prepare string/mem functions for KASAN 2019-05-03 01:20:25 +10:00
ppc_asm.h powerpc: add CFUNC assembly label annotation 2023-04-20 12:54:24 +10:00
processor.h