Re: [PATCH mips-next] MIPS: UAPI: unexport unistd_nr_{n32,n64,o32}.h

From: Thomas Bogendoerfer
Date: Thu Jan 07 2021 - 11:30:14 EST


On Mon, Jan 04, 2021 at 03:41:48PM +0000, Alexander Lobakin wrote:
> unistd_nr_{n32,n64,o32}.h are needed only by include/asm/unistd.h,
> which is a kernel-side header file, and their contents is generally
> not for userland use.
> Move their target destination from include/generated/uapi/asm/ to
> include/generated/asm/ to disable exporting them as UAPI headers.
>
> Signed-off-by: Alexander Lobakin <alobakin@xxxxx>
> ---
> arch/mips/include/asm/Kbuild | 4 ++++
> arch/mips/include/uapi/asm/Kbuild | 3 ---
> arch/mips/kernel/syscalls/Makefile | 16 ++++++++--------
> 3 files changed, 12 insertions(+), 11 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]