mips: Fix compile warnings of perf "tests/attr.c" on mips64.
PATCH 1/1 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 <[email protected]>
--- arch/mips/include/uapi/asm/types.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/include/uapi/asm/types.h +1 -1
@@ -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>
Signature · 2 lines
1.7.0.1
�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�