1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Automatically generated by rvgen kunit. 4 * May need manual intervention for function prototypes that couldn't be 5 * found (e.g. are in another file) or variables to be exported. 6 */ 7 8 #ifndef __SSSW_KUNIT_H 9 #define __SSSW_KUNIT_H 10 11 #if IS_ENABLED(CONFIG_RV_MONITORS_KUNIT_TEST) 12 13 #include <linux/rv.h> 14 #include <rv/kunit.h> 15 16 extern const struct rv_sssw_ops { 17 struct rv_kunit_mon mon; 18 void (*handle_sched_set_state)(void *data, struct task_struct *tsk, int state); 19 void (*handle_sched_switch)(void *data, bool preempt, 20 struct task_struct *prev, 21 struct task_struct *next, 22 unsigned int prev_state); 23 void (*handle_sched_wakeup)(void *data, struct task_struct *p); 24 void (*handle_signal_deliver)(void *data, int sig, 25 struct kernel_siginfo *info, 26 struct k_sigaction *ka); 27 } rv_sssw_ops; 28 #endif 29 30 #endif /* __SSSW_KUNIT_H */ 31