]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Remove getpgrp from mmap-basic
authorRiku Voipio <riku.voipio@linaro.org>
Thu, 16 Apr 2015 13:52:55 +0000 (16:52 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 May 2015 15:43:42 +0000 (12:43 -0300)
commite92d94391b83f2158bc2c035e259b67848583026
tree2710ec6f0dd244ca69927d74e8d521c04f20e7b9
parent526e2dbfda8d30d500e33b9648d2ef2ed5c45bdd
perf tests: Remove getpgrp from mmap-basic

mmap-basic fails on arm64.

 4: read samples using the mmap interface: read samples using the mmap interface: FAILED!

This is because arm64 doesn't come with getpgrp() syscall. The syscall
is a BSD compatibility wrapper, Archs that don't define
__ARCH_WANT_SYS_GETPGRP do not have this. Remove it, since getpgid is
already used in the testcase.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1429192375-13706-4-git-send-email-riku.voipio@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/mmap-basic.c