Re: [kvm-unit-tests PATCH v3 7/7] x86: vmx: mark some test_* functions as noinline

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

 



On Thu, Sep 9, 2021 at 11:32 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> From: Bill Wendling <morbo@xxxxxxxxxx>
>
> Some test_* functions use inline asm that define globally visible labels.
> Clang decides that it can inline these functions, which causes the
> assembler to complain about duplicate symbols. Mark the functions as
> "noinline" to prevent this.
>
> Signed-off-by: Bill Wendling <morbo@xxxxxxxxxx>
> [sean: call out the globally visible aspect]
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>



[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