mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
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:
committed by
Will Deacon
parent
0fc7018d0b
commit
c8058b8837
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user