On Tue, Aug 14, 2018 at 2:39 PM Vlastimil Babka vbabka@suse.cz 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