Re: [PATCH] x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux