Re: [PATCH 05/24] arm64: Remove signal translation and exec_domain

From: Thierry Reding
Date: Mon Apr 13 2015 - 09:53:39 EST


On Sat, Apr 11, 2015 at 10:47:44PM +0200, Richard Weinberger wrote:
[...]
> diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
> index 660ccf9..9f28eaa 100644
> --- a/arch/arm64/kernel/signal.c
> +++ b/arch/arm64/kernel/signal.c
> @@ -294,12 +294,6 @@ static void handle_signal(struct ksignal *ksig, struct pt_regs *regs)
> int ret;
>
> /*
> - * translate the signal
> - */
> - if (usig < 32 && thread->exec_domain && thread->exec_domain->signal_invmap)
> - usig = thread->exec_domain->signal_invmap[usig];
> -
> - /*

This hunk triggers a warning in linux-next about the thread variable now
being unused.

Thierry

Attachment: pgp6GJWOnN5x8.pgp
Description: PGP signature