]> www.infradead.org Git - users/dwmw2/linux.git/commit
UAPI: x86: Move pvclock-abi to UAPI for x86 platforms
authorJack Allister <jalliste@amazon.com>
Sun, 21 Apr 2024 15:21:16 +0000 (15:21 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 4 Jun 2024 10:31:45 +0000 (11:31 +0100)
commit9aae00bc0ea4735293fb10c134a9ed0ebe69b9ef
treef6aa9e01048d643659979e3db5564e468bb4aa78
parent755efd34f4c70d7ca7b8bf56e58efc10df885907
UAPI: x86: Move pvclock-abi to UAPI for x86 platforms

KVM provides a new interface for performing a fixup/correction of the KVM
clock against the reference TSC. The KVM_[GS]ET_CLOCK_GUEST API requires a
pvclock_vcpu_time_info, as such the caller must know about this definition.

Move the definition to the UAPI folder so that it is exported to usermode
and also change the type definitions to use the standard for UAPI exports.

Signed-off-by: Jack Allister <jalliste@amazon.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
arch/x86/include/uapi/asm/pvclock-abi.h [moved from arch/x86/include/asm/pvclock-abi.h with 83% similarity]