From dbb41ce2b7f309d394054a6bd1e33afd578798a5 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Fri, 23 Oct 2020 15:18:01 +0200 Subject: Move the source code of all xloop components to the common 'src' directory --- kernel/tests/include/libsigwait.h | 44 --------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 kernel/tests/include/libsigwait.h (limited to 'kernel/tests/include/libsigwait.h') diff --git a/kernel/tests/include/libsigwait.h b/kernel/tests/include/libsigwait.h deleted file mode 100644 index 2fca578..0000000 --- a/kernel/tests/include/libsigwait.h +++ /dev/null @@ -1,44 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 Linaro Limited. All rights reserved. - * Author: Viresh Kumar - */ - -#ifndef SIGWAIT_H__ -#define SIGWAIT_H__ - -#include "tst_test.h" -#include "tst_timer.h" -#include - -/* swi: sigwaitinfo() */ -typedef int (*swi_func) (const sigset_t * set, siginfo_t * info, - void * timeout); -typedef void (*test_func) (swi_func, int, enum tst_ts_type type); - -struct sigwait_test_desc { - test_func tf; - int signo; -}; - -void test_empty_set(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_timeout(swi_func sigwaitinfo, int signo, enum tst_ts_type type); -void test_unmasked_matching(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_unmasked_matching_noinfo(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_masked_matching(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_masked_matching_rt(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_masked_matching_noinfo(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_bad_address(swi_func sigwaitinfo, int signo, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_bad_address2(swi_func sigwaitinfo, int signo LTP_ATTRIBUTE_UNUSED, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void test_bad_address3(swi_func sigwaitinfo, int signo LTP_ATTRIBUTE_UNUSED, - enum tst_ts_type type LTP_ATTRIBUTE_UNUSED); -void sigwait_setup(void); -#endif /* SIGWAIT_H__ */ -- cgit v1.2.3-55-g7522