Re: [PATCH] x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread
From: Linus Torvalds
Date: Tue Aug 14 2018 - 18:00:35 EST
On Tue, Aug 14, 2018 at 2:39 PM Vlastimil Babka <vbabka@xxxxxxx> wrote:
>
> 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
Applied.
Linus