diff options
author | 2022-07-19 23:44:34 +0200 | |
---|---|---|
committer | 2022-08-31 05:17:43 -0700 | |
commit | 364702f7551451f2fab341f1b31adf911c888375 (patch) | |
tree | b95af4692406f5ac8bb535ab5b1f6d8fd302f941 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/nolibc: fix build warning in sys_mmap() when my_syscall6 is not defined (diff) | |
download | linux-dev-364702f7551451f2fab341f1b31adf911c888375.tar.xz linux-dev-364702f7551451f2fab341f1b31adf911c888375.zip |
tools/nolibc: make sys_mmap() automatically use the right __NR_mmap definition
__NR_mmap2 was used for i386 but it's also needed for other archs such
as RISCV32 or ARM. Let's decide to use it based on the __NR_mmap2
definition as it's not defined on other archs.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions