[kvm:queue 4/23] arch/x86/kernel/kvm.c:596:14: error: 'struct kvm_steal_time' has no member named 'preempted'

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

 



tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   080a0ed2f9304366d4b723ae1cad7aeae1f02c8d
commit: b94c3698b4b043a7b3aae8c3c88f60dd29565b90 [4/23] Revert "x86/kvm: Support the vCPU preemption check"
config: i386-randconfig-s0-201650 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout b94c3698b4b043a7b3aae8c3c88f60dd29565b90
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   arch/x86/kernel/kvm.c: In function '__kvm_vcpu_is_preempted':
>> arch/x86/kernel/kvm.c:596:14: error: 'struct kvm_steal_time' has no member named 'preempted'
     return !!src->preempted;
                 ^~
>> arch/x86/kernel/kvm.c:597:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +596 arch/x86/kernel/kvm.c

bf0c7c34a Waiman Long        2015-04-24  590  }
bf0c7c34a Waiman Long        2015-04-24  591  
3cded4179 Peter Zijlstra     2016-11-15  592  __visible bool __kvm_vcpu_is_preempted(int cpu)
3cded4179 Peter Zijlstra     2016-11-15  593  {
3cded4179 Peter Zijlstra     2016-11-15  594  	struct kvm_steal_time *src = &per_cpu(steal_time, cpu);
3cded4179 Peter Zijlstra     2016-11-15  595  
3cded4179 Peter Zijlstra     2016-11-15 @596  	return !!src->preempted;
3cded4179 Peter Zijlstra     2016-11-15 @597  }
3cded4179 Peter Zijlstra     2016-11-15  598  PV_CALLEE_SAVE_REGS_THUNK(__kvm_vcpu_is_preempted);
3cded4179 Peter Zijlstra     2016-11-15  599  
92b75202e Srivatsa Vaddagiri 2013-08-06  600  /*

:::::: The code at line 596 was first introduced by commit
:::::: 3cded41794818d788aa1dc028ede4a1c1222d937 x86/paravirt: Optimize native pv_lock_ops.vcpu_is_preempted()

:::::: TO: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[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