[PATCH v2 3/3] arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h

Will Deacon will.deacon at arm.com
Fri Feb 28 11:58:17 EST 2014


On Tue, Feb 25, 2014 at 09:20:25AM +0000, AKASHI Takahiro wrote:
> kernel/seccomp.c includes linux/compat.h and, indicrectly, asm/compat.h
> via asm/syscall.h. Due to the duplicated definitions of is_compat_task,
> compiling this file will fail in the case of !CONFIG_COMPAT.
> So this patch
> 1) removes is_compat_task() definition from asm/compat.h
> 2) replaces asm/compat.h to linux/compat.h in kernel/*.c
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---

You built this, right? If so,

  Acked-by: Will Deacon <will.deacon at arm.com>

Will



More information about the linux-arm-kernel mailing list