kvmtool: Fix compile error on MIPS

When including asm-generic/types.h instead of asm/types.h it results
in conflicting types for __s64 et al (at least with my
toolchain). Other header files are including asm/types.h
(e.g. include/kvm/ioport.h) and types defined there don't necessarily
match the types defined in asm-generic/types.h.

Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
Andreas Herrmann
2015-06-15 12:49:42 +01:00
committed by Will Deacon
parent 0fc7018d0b
commit c8058b8837
+1 -1
View File
@@ -3,7 +3,7 @@
#include <kvm/compiler.h>
#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
#include <asm-generic/types.h>
#include <asm/types.h>
typedef __u64 u64;
typedef __s64 s64;