]> git.baikalelectronics.ru Git - kernel.git/commit
tools arch uapi: Copy missing unistd.h headers for arc, hexagon and riscv
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Apr 2019 18:21:35 +0000 (15:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 May 2019 20:00:20 +0000 (16:00 -0400)
commit79ece06092b2d9e4490203279126bc647fc57785
tree99e3d79ea31af81802c5844c99867bf174747e81
parente3e822e61ed74a448da3486b3601440e0243039c
tools arch uapi: Copy missing unistd.h headers for arc, hexagon and riscv

Since those were introduced in:

  36be8269480d ("asm-generic: Make time32 syscall numbers optional")

But when the asm-generic/unistd.h was sync'ed with tools/ in:

  8e27d8c62baf ("tools headers uapi: Sync copy of asm-generic/unistd.h with the kernel sources")

I forgot to copy the files for the architectures that define
__ARCH_WANT_TIME32_SYSCALLS, so the perf build was breaking there, as
reported by Vineet Gupta for the ARC architecture.

After updating my ARC container to use the glibc based toolchain + cross
building libnuma, zlib and elfutils, I finally managed to reproduce the
problem and verify that this now is fixed and will not regress as will
be tested before each pull req sent upstream.

Reported-by: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Olsa <jolsa@kernel.org>
CC: linux-snps-arc@lists.infradead.org
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/r/20190426193531.GC28586@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/arc/include/uapi/asm/unistd.h [new file with mode: 0644]
tools/arch/hexagon/include/uapi/asm/unistd.h [new file with mode: 0644]
tools/arch/riscv/include/uapi/asm/unistd.h [new file with mode: 0644]