[<prev] [next>] [day] [month] [year] [list]
Message-id: <33175867.61781398420434600.JavaMail.weblogic@epml03>
Date: Fri, 25 Apr 2014 10:07:15 +0000 (GMT)
From: Eunbong Song <eunb.song@...sung.com>
To: ralf@...ux-mips.org
Cc: "linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] mips: Fix compile warnings of perf "tests/attr.c" on mips64.
On mips64, we by default include '<asm-generic/int-l64.h> which results in __u64 being an
unsigned long. This causes compile warnings which are treated as errors due to '-Werror'.
This patch references commit e3541ec7.
Signed-off-by: Eunbong Song <eunb.song@...sung.com>
---
arch/mips/include/uapi/asm/types.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/include/uapi/asm/types.h b/arch/mips/include/uapi/asm/types.h
index 7ac9d0b..8d959a0 100644
--- a/arch/mips/include/uapi/asm/types.h
+++ b/arch/mips/include/uapi/asm/types.h
@@ -16,7 +16,7 @@
* userspace to avoid code changes.
*/
#ifndef __KERNEL__
-# if _MIPS_SZLONG == 64
+# if !defined(__SANE_USERSPACE_TYPES__) && _MIPS_SZLONG == 64
# include <asm-generic/int-l64.h>
# else
# include <asm-generic/int-ll64.h>
--
1.7.0.1
Powered by blists - more mailing lists