summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2018-08-14 23:38:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-15 00:00:00 +0200
commitd0055f351e647f33f3b0329bff022213bf8aa085 (patch)
tree5149192eeb49f92c313b359dad13710222463cf7 /arch/arm/kernel
parentcpu/hotplug: Non-SMP machines do not make use of booted_once (diff)
downloadlinux-d0055f351e647f33f3b0329bff022213bf8aa085.tar.xz
linux-d0055f351e647f33f3b0329bff022213bf8aa085.zip
x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread
The function has an inline "return false;" definition with CONFIG_SMP=n but the "real" definition is also visible leading to "redefinition of ‘apic_id_is_primary_thread’" compiler error. Guard it with #ifdef CONFIG_SMP Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Fixes: 6a4d2657e048 ("x86/smp: Provide topology_is_primary_thread()") Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions