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