Re: [PATCH] arm64: fix !CONFIG_COMPAT build failures

From: Catalin Marinas
Date: Sun Apr 06 2014 - 18:28:45 EST

On Sat, Apr 05, 2014 at 03:25:49PM +0100, Mark Salter wrote:
> Recent arm64 builds using CONFIG_ARM64_64K_PAGES are failing with:
> arch/arm64/kernel/perf_regs.c: In function âperf_reg_abiâ:
> arch/arm64/kernel/perf_regs.c:41:2: error: implicit declaration of function âis_compat_threadâ
> arch/arm64/kernel/perf_event.c:1398:2: error: unknown type name âcompat_uptr_tâ
> This is due to some recent arm64 perf commits with compat support:
> commit 23c7d70d55c6d9:
> ARM64: perf: add support for frame pointer unwinding in compat mode
> commit 2ee0d7fd36a3f8:
> ARM64: perf: add support for perf registers API
> Those patches make the arm64 kernel unbuildable if CONFIG_COMPAT is not
> defined and CONFIG_ARM64_64K_PAGES depends on !CONFIG_COMPAT. This patch
> allows the arm64 kernel to build with and without CONFIG_COMPAT.
> Signed-off-by: Mark Salter <msalter@xxxxxxxxxx>

Thanks. Applied.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at