mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
Merge b80affe33f ("Merge tag 'linux-kselftest-fixes-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest") into android-mainline
Steps on the way to 5.11-rc1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ic632075cea94a10f045301aab916a94931b2e2a2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
CFLAGS += -g -I../../../../usr/include/
|
||||
CFLAGS += -g -std=gnu99 -I../../../../usr/include/
|
||||
LDLIBS += -lcap
|
||||
|
||||
TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \
|
||||
|
||||
@@ -1133,6 +1133,8 @@ static int set_signal_handler(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */
|
||||
#ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV
|
||||
struct test_membarrier_thread_args {
|
||||
int stop;
|
||||
intptr_t percpu_list_ptr;
|
||||
@@ -1286,8 +1288,6 @@ void *test_membarrier_manager_thread(void *arg)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Test MEMBARRIER_CMD_PRIVATE_RESTART_RSEQ_ON_CPU membarrier command. */
|
||||
#ifdef RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV
|
||||
void test_membarrier(void)
|
||||
{
|
||||
const int num_threads = opt_threads;
|
||||
|
||||
Reference in New Issue
Block a user