]> xenbits.xensource.com Git - xen.git/commit
x86/svm: Rework VMCB_ACCESSORS() to use a plain type name
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 May 2024 15:29:11 +0000 (16:29 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 May 2024 16:26:39 +0000 (17:26 +0100)
commitd27c2835e0005200d464b57156c76455d46f74bb
treea0c039bd363686adb11b9932d9157b06cc524185
parent58b3437bae50b835a3a9a04fe5e8d31cd115d6a3
x86/svm: Rework VMCB_ACCESSORS() to use a plain type name

This avoids having a function call in a typeof() expression.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
xen/arch/x86/include/asm/hvm/svm/vmcb.h