From: Matt Evans Date: Wed, 7 Dec 2011 20:57:09 +0000 (+0000) Subject: powerpc: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64 X-Git-Tag: v3.3-rc1~181^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9c6ce0199a4d252e20c531cfdc9d24e39235c0;p=pandora-kernel.git powerpc: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64 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. Some user programs (e.g. kvmtool) may actually want LL64, so this patch adds a check for __SANE_USERSPACE_TYPES__ so that, if defined, int-ll64.h is included instead. Signed-off-by: Matt Evans Acked-by: Ingo Molnar Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed