From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Herrmann Subject: [PATCH 1/5] kvmtool: Fix compile error on MIPS Date: Mon, 15 Jun 2015 13:49:42 +0200 Message-ID: <1434368986-14963-2-git-send-email-andreas.herrmann@caviumnetworks.com> References: <1434368986-14963-1-git-send-email-andreas.herrmann@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , Andreas Herrmann To: Will Deacon Return-path: Received: from mail-bn1bon0072.outbound.protection.outlook.com ([157.56.111.72]:25728 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754742AbbFOMFn (ORCPT ); Mon, 15 Jun 2015 08:05:43 -0400 In-Reply-To: <1434368986-14963-1-git-send-email-andreas.herrmann@caviumnetworks.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 --- 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 #define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ -#include +#include typedef __u64 u64; typedef __s64 s64; -- 1.7.9.5