KVM: x86: Remove PRIx* definitions as they are solely for user space
PATCH 1/1 KVM: x86: Remove PRIx* definitions as they are solely for user space
In the Linux kernel we do not support PRI.64 specifiers. Moreover they seem not to be used anyway here. Drop them.
Signed-off-by Andy Shevchenko <[email protected]>
--- arch/x86/kvm/lapic.c | 5 ----- 1 file changed, 5 deletions(-)
arch/x86/kvm/lapic.c +0 -5
@@ -51,11 +51,6 @@#define mod_64 (x, y) ((x) % (y))#endif -#define PRId64 "d" -#define PRIx64 "llx" -#define PRIu64 "u" -#define PRIo64 "o" -/* 14 is the version for Xeon and Pentium 8.4.8*/ #define APIC_VERSION 0x14UL#define LAPIC_MMIO_LENGTH (1 << 12)
Signature · 1 line
2.40.0.1.gaa8946217a0b
Quoted 4 lines · Andy Shevchenko
In the Linux kernel we do not support PRI.64 specifiers. Moreover they seem not to be used anyway here. Drop them.
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space
https://github.com/kvm-x86/linux/commit/fb1273635f8c
--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes