From: Andy Shevchenko Date: Fri, 16 Jun 2023 15:02:33 +0000 (+0300) Subject: KVM: x86: Remove PRIx* definitions as they are solely for user space X-Git-Tag: v6.5-rc1~71^2~5^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fb1273635f8c38df18483ffcd038a5b792dfcc94;p=tomoyo%2Ftomoyo-test1.git 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 Link: https://lore.kernel.org/r/20230616150233.83813-1-andriy.shevchenko@linux.intel.com Signed-off-by: Sean Christopherson --- diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index e542cf285b51..58ee570db395 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -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)