Re: [PATCH v3 08/15] x86: add new features for paravirt patching

Borislav Petkov
2021-01-14T18:31:59Z

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>.

--
Regards/Gruss,
Boris.