Re: [kvm:queue 104/105] vmx.c:undefined reference to `__udivdi3'

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

 



On 17/06/19 22:20, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   5253b5b578e40c3a10922579b38d1a53112324bd
> commit: ce70de9a05de4510435f554da0cb2fb3321ba0fc [104/105] KVM: VMX: Leave preemption timer running when it's disabled
> config: i386-allyesconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout ce70de9a05de4510435f554da0cb2fb3321ba0fc
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
>    ld: arch/x86/kvm/vmx/vmx.o: in function `hardware_setup':
>>> vmx.c:(.init.text+0xe90): undefined reference to `__udivdi3'

Fixed by rewriting

	if ((0xffffffffu / use_timer_freq) < 10)
		enable_preemption_timer = false;

to

	if (use_timer_freq > 0xffffffffu / 10)
		enable_preemption_timer = false;

(finally doing inequations in high school paid off).

Paolo



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux