Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'linux-kselftest-fixes-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull Kselftest fixes from Shuah Khan:
"Build fixes for clone3 and rseq tests"

* tag 'linux-kselftest-fixes-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
selftests/clone3: Fix build error
rseq/selftests: Fix MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ build error under other arch.

+3 -3
+1 -1
tools/testing/selftests/clone3/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - CFLAGS += -g -I../../../../usr/include/ 2 + CFLAGS += -g -std=gnu99 -I../../../../usr/include/ 3 3 LDLIBS += -lcap 4 4 5 5 TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \
+2 -2
tools/testing/selftests/rseq/param_test.c
··· 1133 1133 return ret; 1134 1134 } 1135 1135 1136 + /* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */ 1137 + #ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV 1136 1138 struct test_membarrier_thread_args { 1137 1139 int stop; 1138 1140 intptr_t percpu_list_ptr; ··· 1288 1286 return NULL; 1289 1287 } 1290 1288 1291 - /* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */ 1292 - #ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV 1293 1289 void test_membarrier(void) 1294 1290 { 1295 1291 const int num_threads = opt_threads;