[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 08/15] x86: add new features for paravirt patching
On Thu, Jan 14, 2021 at 07:30:24PM +0100, Borislav Petkov wrote: > On Thu, Dec 17, 2020 at 09:12:57PM +0800, kernel test robot wrote: > > ld: arch/x86/kernel/alternative.o: in function `paravirt_set_cap': > > >> arch/x86/kernel/alternative.c:605: undefined reference to > > >> `pv_is_native_spin_unlock' > > >> ld: arch/x86/kernel/alternative.c:608: undefined reference to > > >> `pv_is_native_vcpu_is_preempted' > > Looks like alternative.c needs #include <asm/paravirt.h>. Nah, that needs paravirt_set_cap() to be inside CONFIG_PARAVIRT_SPINLOCKS-enabled ifdeffery. Jürgen, why don't you move it to arch/x86/kernel/paravirt.c? That should keep the ifdeffery low. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |