diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-31 09:38:51 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-18 21:31:55 +0100 |
| commit | a4943995dcfaa9df6a9d9fd384ff0c464f12e548 (patch) | |
| tree | 5a0d26efb0b89d052c5668a4302a25bbe5fb3c18 /include/linux/compiler.h | |
| parent | a3bf31467ef248c76cc1f675178eefdabda6f984 (diff) | |
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 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions
