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

From: Thomas Gleixner
Date: Mon Nov 05 2018 - 06:27:45 EST


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.

Thanks,

tglx