aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/latent_entropy_plugin.c
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2016-08-06 04:31:48 +0000
committerDavid S. Miller <[email protected]>2016-09-28 15:24:02 +0000
commitbdf2f59e64eb9cd9e9dd90f990a9577640470c8a (patch)
tree6d49d369ce65d1e184c28f9a5b172e56a88386c8 /scripts/gcc-plugins/latent_entropy_plugin.c
parentMerge branch 'for-4.8-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-bdf2f59e64eb9cd9e9dd90f990a9577640470c8a.tar.gz
kernel-bdf2f59e64eb9cd9e9dd90f990a9577640470c8a.zip
sparc64: fix section mismatch in find_numa_latencies_for_group
To fix: WARNING: vmlinux.o(.text.unlikely+0x580): Section mismatch in reference from the function find_numa_latencies_for_group() to the function .init.text:find_mlgroup() The function find_numa_latencies_for_group() references the function __init find_mlgroup(). This is often because find_numa_latencies_for_group lacks a __init annotation or the annotation of find_mlgroup is wrong. It turns out find_numa_latencies_for_group is only called from: static int __init numa_parse_mdesc(void) and hence we can tag find_numa_latencies_for_group with __init. In doing so we see that find_best_numa_node_for_mlgroup is only called from within __init and hence can also be marked with __init. Cc: "David S. Miller" <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Chris Hyser <[email protected]> Cc: Santosh Shilimkar <[email protected]> Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions