]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: VMX: Use named operands in inline asm
authorJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 3 Mar 2025 01:20:59 +0000 (17:20 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Mar 2025 10:21:39 +0000 (11:21 +0100)
commite1c49eaee52384ec9e3734138b3929a35b64e0c3
treea1b6aa41a8029ebd3defe3050d16486b8c760ca9
parent0c53ba09849d5e6edd30b35ad7dcdbf5983b85fd
KVM: VMX: Use named operands in inline asm

Convert the non-asm-goto version of the inline asm in __vmcs_readl() to
use named operands, similar to its asm-goto version.

Do this in preparation of changing the ASM_CALL_CONSTRAINT primitive.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Sean Christopherson <seanjc@google.com>
Cc: linux-kernel@vger.kernel.org
arch/x86/kvm/vmx/vmx_ops.h