* [PATCH v1 1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space
@ 2023-06-16 15:02 Andy Shevchenko
2023-06-17 0:10 ` Sean Christopherson
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2023-06-16 15:02 UTC (permalink / raw)
To: Paolo Bonzini, Sean Christopherson, kvm, linux-kernel
Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H. Peter Anvin, Andy Shevchenko
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>
---
arch/x86/kvm/lapic.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 3c300a196bdf..113ca9661ab2 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)
--
2.40.0.1.gaa8946217a0b
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space
2023-06-16 15:02 [PATCH v1 1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space Andy Shevchenko
@ 2023-06-17 0:10 ` Sean Christopherson
0 siblings, 0 replies; 2+ messages in thread
From: Sean Christopherson @ 2023-06-17 0:10 UTC (permalink / raw)
To: Sean Christopherson, Paolo Bonzini, kvm, linux-kernel,
Andy Shevchenko
Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
H. Peter Anvin
On Fri, 16 Jun 2023 18:02:33 +0300, Andy Shevchenko wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-17 0:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 15:02 [PATCH v1 1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space Andy Shevchenko
2023-06-17 0:10 ` Sean Christopherson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox