]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm: Add output operand in vmx_handle_external_intr inline asm
authorChris J Arges <chris.j.arges@canonical.com>
Fri, 22 Jan 2016 21:44:38 +0000 (15:44 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Feb 2016 07:35:44 +0000 (08:35 +0100)
commit658b19c5d24e9607f261782b09bbee07cd1fbab1
treef6f57756d22016d8d1ca638ea5058e5842e080e3
parent7a0c3b797a6fc2d6a1063479b6b137422ee52051
x86/kvm: Add output operand in vmx_handle_external_intr inline asm

Stacktool generates the following warning:
  stacktool: arch/x86/kvm/vmx.o: vmx_handle_external_intr()+0x67: call without frame pointer save/setup

By adding the stackpointer as an output operand, this patch ensures that a
stack frame is created when CONFIG_FRAME_POINTER is enabled for the inline
assmebly statement.

Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: gleb@kernel.org
Cc: kvm@vger.kernel.org
Cc: live-patching@vger.kernel.org
Cc: pbonzini@redhat.com
Link: http://lkml.kernel.org/r/1453499078-9330-3-git-send-email-chris.j.arges@canonical.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kvm/vmx.c