From: Aaro Koskinen Date: Tue, 6 May 2014 12:55:43 +0000 (+0300) Subject: MIPS: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~78^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4b3aa7cd9d32407670e67238c5ee752bb98f481;p=pandora-kernel.git MIPS: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64 Allow 64-bit userspace programs to use ll64 types. The define name comes from commit 2c9c6ce0199a4d252e20c531cfdc9d24e39235c0 (powerpc: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64). The patch allows to compile perf on MIPS64 and eliminates the following warnings: tests/attr.c:74:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' [-Werror=format=] Signed-off-by: Aaro Koskinen Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/6890/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed