lkml.org 
[lkml]   [2018]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread
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

\
 
 \ /
  Last update: 2018-08-15 00:00    [W:0.029 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site