]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Add wrapper for gettid
authorSandipan Das <sandipan@linux.ibm.com>
Mon, 27 Jul 2020 04:00:39 +0000 (09:30 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jul 2020 11:02:10 +0000 (21:02 +1000)
commite74602a85e4397b0c187ae1e2a4827465ac144fd
tree76535f6e67989edc9af765470a0072a10a7a9f0f
parent494fecf2096512e33644251d752cd0be1b601d32
selftests/powerpc: Add wrapper for gettid

The gettid() syscall wrapper was first introduced in
glibc 2.30. This adds a wrapper for use in distros
running older versions.

Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/8ca3b0eeda989707815d1cf337cc33f090408965.1595821792.git.sandipan@linux.ibm.com
tools/testing/selftests/powerpc/include/utils.h