Re: [PATCH v6 15/20] arm64: signal: move ilp32 and lp64 common code to separated file

From: Arnd Bergmann
Date: Wed Dec 16 2015 - 11:09:31 EST


On Wednesday 16 December 2015 00:42:41 Yury Norov wrote:
> + sigtramp = ka->sa.sa_restorer;
> +#ifdef CONFIG_ARM64_ILP32
> + else if (is_ilp32_compat_task())
> + sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp_ilp32);
> +#endif
> + else
> + sigtramp = VDSO_SYMBOL(current->mm->context.vdso, sigtramp);
>

This is another case where I think it's more readable to remove the #ifdef,
with no change in behavior.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/