Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684914

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

From Tobias Klauser <tklauser@distanz.ch>
Newsgroups linux.kernel
Subject Re: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h
Date 2017-07-11 11:20 +0200
Message-ID <u1ZuP-pS-45@gated-at.bofh.it> (permalink)
References <u1phD-2Oe-3@gated-at.bofh.it> <u1phF-2Oe-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017-07-09 at 20:32:49 +0200, Masahiro Yamada <yamada.masahiro@socionext.com> 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@socionext.com>

Reviewed-by: Tobias Klauser <tklauser@distanz.ch>

Looks good, thanks!

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-07-09 20:40 +0200
  Re: [PATCH v2 17/28] nios2: remove unneeded  arch/nios2/include/(generated/)asm/signal.h Tobias Klauser <tklauser@distanz.ch> - 2017-07-11 11:20 +0200

csiph-web