summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2017-09-07 15:16:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-12 11:56:20 +0200
commit7fb25f63774848df4b1f32355893f60f82bc9320 (patch)
treeef8aa75f4118e4b85e6fd9357ce09f1587d57a82 /Makefile
parent0d3476c1395a39dcb2b78809424344ca7dadbfe2 (diff)
base: arch_topology: fix section mismatch build warnings
commit 452562abb5b76c14449dead2a7113f641893e8bc upstream. Commit 2ef7a2953c81 ("arm, arm64: factorize common cpu capacity default code") introduced init_cpu_capacity_callback and init_cpu_capacity_notifier which are referenced from initcall and are missing __init{,data} annotations resulting the below section mismatch build warnings. "WARNING: vmlinux.o(.text+0xbab790): Section mismatch in reference from the function init_cpu_capacity_callback() to the variable .init.text:$x The function init_cpu_capacity_callback() references the variable __init $x. This is often because init_cpu_capacity_callback lacks a __init annotation or the annotation of $x is wrong." This patch fixes the above build warnings by adding the required annotations. Fixes: 2ef7a2953c81 ("arm, arm64: factorize common cpu capacity default code") Cc: Juri Lelli <juri.lelli@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions