summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/libpfm
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-10-11 16:11:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-12 16:59:56 +0000
commitdba3eff8e21c9ed905ad294ff9a66593c1192ad9 (patch)
treebaf47fdbaa2633eae8b95be2c8d3b7a71d4be9dd /meta/recipes-kernel/libpfm
parent404e0cfafd021562aace1cbbe62e7fee8a3c110d (diff)
downloadpoky-dba3eff8e21c9ed905ad294ff9a66593c1192ad9.tar.gz
perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64
PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. Perf want LL64, flag __SANE_USERSPACE_TYPES__ to get int-ll64.h. Fix the below issue: | tests/attr.c:71:4: error: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type '__u64' [-Werror=format=] | tests/attr.c:80:7: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' [-Werror=format=] | attr->type, attr->config, fd) < 0) { | ^ (From OE-Core master rev: e0b56f7ed84da4f71f448548e15d5a75e8eada6e) (From OE-Core rev: 7d55375ddc1a928e77d5687a8e7b36eecb91c594) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/libpfm')
0 files changed, 0 insertions, 0 deletions