diff mbox series

[6/6] target/i386/kvm.c: Remove compatibility shim for KVM_HINTS_REALTIME

Message ID 20180525132755.21839-7-peter.maydell@linaro.org
State New
Headers show
Series Update Linux headers to 4.17-rc6 | expand

Commit Message

Peter Maydell May 25, 2018, 1:27 p.m. UTC
Now we've updated our copy of the kernel headers we can remove the
compatibility shim that handled KVM_HINTS_REALTIME not being defined.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 target/i386/kvm.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/target/i386/kvm.c b/target/i386/kvm.c
index c2699f2f44..a36d986522 100644
--- a/target/i386/kvm.c
+++ b/target/i386/kvm.c
@@ -48,11 +48,6 @@ 
 #include "exec/memattrs.h"
 #include "trace.h"
 
-/* Work around this kernel header constant changing its name */
-#ifndef KVM_HINTS_REALTIME
-#define KVM_HINTS_REALTIME KVM_HINTS_DEDICATED
-#endif
-
 //#define DEBUG_KVM
 
 #ifdef DEBUG_KVM