Re: [PATCH] x86: vsmp: avoid link error with gcc -Og

From: Arnd Bergmann
Date: Mon Nov 05 2018 - 09:53:23 EST


On 11/5/18, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Arnd,
>
> On Fri, 2 Nov 2018, Arnd Bergmann wrote:
>
>> When the compiler skips optimizations for ease of debugging,
>> teh vsmp_cap_cpus() function is not eliminated from the build
>> with CONFIG_PCI=n:
>
> thanks for that, but the code has other issues, which are addressed with
> this:
>
>
> https://lkml.kernel.org/r/1541404864-31603-1-git-send-email-eial@xxxxxxxxxxx
>
> That should also solve the problem you've observed.

Ok, I've dropped my patch from my test tree, will let you know if
I see any other issues with the new patch applied.

Arnd