diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-31 09:38:51 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-04-05 14:19:08 +0200 |
commit | 95272c29378ee7dc15f43fa2758cb28a5913a06d (patch) | |
tree | 634a41d45cc7df083f66442d78fc011dc1790700 /arch | |
parent | 61abdbe0bcc2b32745ab4479cc550f4c1f518ee2 (diff) | |
download | linux-95272c29378ee7dc15f43fa2758cb28a5913a06d.tar.bz2 |
compiler-gcc: disable -ftracer for __noclone functions
-ftracer can duplicate asm blocks causing compilation to fail in
noclone functions. For example, KVM declares a global variable
in an asm like
asm("2: ... \n
.pushsection data \n
.global vmx_return \n
vmx_return: .long 2b");
and -ftracer causes a double declaration.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: stable@vger.kernel.org
Cc: kvm@vger.kernel.org
Reported-by: Linda Walsh <lkml@tlinx.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions