summaryrefslogtreecommitdiffstats
path: root/crypto/crc32c_generic.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2019-07-18 03:36:38 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-07-18 21:01:03 +0200
commit19f2d8fa98644c7b78845b1d66abeae4e3d9dfa8 (patch)
treec79add0729e6e794c8e4b041bcbabca385f129b9 /crypto/crc32c_generic.c
parentx86/kvm: Fix fastop function ELF metadata (diff)
downloadlinux-19f2d8fa98644c7b78845b1d66abeae4e3d9dfa8.tar.xz
linux-19f2d8fa98644c7b78845b1d66abeae4e3d9dfa8.zip
x86/kvm: Replace vmx_vmenter()'s call to kvm_spurious_fault() with UD2
Objtool reports the following: arch/x86/kvm/vmx/vmenter.o: warning: objtool: vmx_vmenter()+0x14: call without frame pointer save/setup But frame pointers are necessarily broken anyway, because __vmx_vcpu_run() clobbers RBP with the guest's value before calling vmx_vmenter(). So calling without a frame pointer doesn't make things any worse. Make objtool happy by changing the call to a UD2. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Link: https://lkml.kernel.org/r/9fc2216c9dc972f95bb65ce2966a682c6bda1cb0.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions