Re: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h

From: Tobias Klauser
Date: Tue Jul 11 2017 - 05:19:25 EST


On 2017-07-09 at 20:32:49 +0200, Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote:
> Currently, NIOS2 has three signal.h files under arch/nios2/include:
>
> [1] arch/nios2/include/asm/signal.h
> [2] arch/nios2/include/uapi/asm/signal.h
> [3] arch/nios2/include/generated/asm/signal.h
>
> [3] is build-time generated by scripts/Makefile.asm-generic.
> However, -I$(srctree)/arch/$(hdr-arch)/include search path is listed
> before -I$(objtree)/arch/$(hdr-arch)/include/generated in LINUXINCLUDE.
> Therefore [1] is always included instead of [3]. Remove [3] which
> is never included.
>
> If we look at [1], it just includes [2]. So, [1] can be removed
> as well.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Reviewed-by: Tobias Klauser <tklauser@xxxxxxxxxx>

Looks good, thanks!