mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
7eb30fe18f
Remove obsolete function vdo_perform_once. Instead, initialize necessary module state when loading the module. Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
21 lines
468 B
C
21 lines
468 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright 2023 Red Hat
|
|
*/
|
|
|
|
#ifndef THREAD_UTILS_H
|
|
#define THREAD_UTILS_H
|
|
|
|
#include <linux/atomic.h>
|
|
|
|
/* Thread and synchronization utilities */
|
|
|
|
struct thread;
|
|
|
|
void vdo_initialize_threads_mutex(void);
|
|
int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
|
|
const char *name, struct thread **new_thread);
|
|
void vdo_join_threads(struct thread *thread);
|
|
|
|
#endif /* UDS_THREADS_H */
|