summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-11-16 20:39:55 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-12-17 10:40:51 +0100
commitdc7d6cafce8a7d36d2ebc03be3b6162e0eb98c22 (patch)
tree92fc79dbee165548ca6867c48aa72f5a1a9204a7
parent57a93f16e8dad554720edcc5ed1fe613d68bf230 (diff)
downloadfocaccia-qemu-dc7d6cafce8a7d36d2ebc03be3b6162e0eb98c22.tar.gz
focaccia-qemu-dc7d6cafce8a7d36d2ebc03be3b6162e0eb98c22.zip
target/i386/kvm: Replace use of __u32 type
QEMU coding style mandates to not use Linux kernel internal
types for scalars types. Replace __u32 by uint32_t.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211116193955.2793171-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--target/i386/kvm/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c
index 5a698bde19..13f8e30c2a 100644
--- a/target/i386/kvm/kvm.c
+++ b/target/i386/kvm/kvm.c
@@ -1406,7 +1406,7 @@ static int hyperv_fill_cpuids(CPUState *cs,
     c->edx = cpu->hyperv_limits[2];
 
     if (hyperv_feat_enabled(cpu, HYPERV_FEAT_EVMCS)) {
-        __u32 function;
+        uint32_t function;
 
         /* Create zeroed 0x40000006..0x40000009 leaves */
         for (function = HV_CPUID_IMPLEMENT_LIMITS + 1;