From: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
To: Will Deacon <will.deacon@arm.com>
Cc: <kvm@vger.kernel.org>,
Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Subject: [PATCH 1/5] kvmtool: Fix compile error on MIPS
Date: Mon, 15 Jun 2015 13:49:42 +0200 [thread overview]
Message-ID: <1434368986-14963-2-git-send-email-andreas.herrmann@caviumnetworks.com> (raw)
In-Reply-To: <1434368986-14963-1-git-send-email-andreas.herrmann@caviumnetworks.com>
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>
---
include/linux/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/types.h b/include/linux/types.h
index 17807b8..5e20f10 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -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;
--
1.7.9.5
next prev parent reply other threads:[~2015-06-15 12:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 11:49 [PATCH 0/5] kvmtool: Misc fixes Andreas Herrmann
2015-06-15 11:49 ` Andreas Herrmann [this message]
2015-06-15 11:49 ` [PATCH 2/5] kvmtool: Fix regression introduced with d2a7ddff4 Andreas Herrmann
2015-06-15 11:49 ` [PATCH 3/5] kvmtool: Register each guest memory bank as vhost_memory_region Andreas Herrmann
2015-06-15 11:49 ` [PATCH 4/5] kvmtool: Save datamatch as little endian in {add,del}_event Andreas Herrmann
2015-06-16 17:17 ` Will Deacon
2015-06-17 7:17 ` Andreas Herrmann
2015-06-17 10:03 ` Will Deacon
2015-06-15 11:49 ` [PATCH 5/5] kvmtool: Fix length of ioevent for VIRTIO_PCI_QUEUE_NOTIFY Andreas Herrmann
2015-06-16 17:29 ` [PATCH 0/5] kvmtool: Misc fixes Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434368986-14963-2-git-send-email-andreas.herrmann@caviumnetworks.com \
--to=andreas.herrmann@caviumnetworks.com \
--cc=kvm@vger.kernel.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox