aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-01-08 09:19:56 +0000
committerCatalin Marinas <[email protected]>2021-01-13 15:09:06 +0000
commitc35a824c31834d947fb99b0c608c1b9f922b4ba0 (patch)
tree2882026691a800eb3702f74e06d4f32715e54a0b /scripts/gcc-plugins/cyc_complexity_plugin.c
parentarm64: rename S_FRAME_SIZE to PT_REGS_SIZE (diff)
downloadkernel-c35a824c31834d947fb99b0c608c1b9f922b4ba0.tar.gz
kernel-c35a824c31834d947fb99b0c608c1b9f922b4ba0.zip
arm64: make atomic helpers __always_inline
With UBSAN enabled and building with clang, there are occasionally warnings like WARNING: modpost: vmlinux.o(.text+0xc533ec): Section mismatch in reference from the function arch_atomic64_or() to the variable .init.data:numa_nodes_parsed The function arch_atomic64_or() references the variable __initdata numa_nodes_parsed. This is often because arch_atomic64_or lacks a __initdata annotation or the annotation of numa_nodes_parsed is wrong. for functions that end up not being inlined as intended but operating on __initdata variables. Mark these as __always_inline, along with the corresponding asm-generic wrappers. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions