KVM: x86: Remove PRIx* definitions as they are solely for user space
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Jun 2023 15:02:33 +0000 (18:02 +0300)
committerSean Christopherson <seanjc@google.com>
Fri, 16 Jun 2023 19:12:10 +0000 (12:12 -0700)
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230616150233.83813-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/lapic.c

index e542cf2..58ee570 100644 (file)
 #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)