diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-11 15:52:17 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-20 19:26:32 -0500 |
commit | e034d49eb01c7c83a08a3ce2a1091b55f806b26b (patch) | |
tree | cb0d3f82a56dd85b354276d449b6832aabad3752 /include/linux/sem.h | |
parent | af6da56a223831cb74d1cf006f5742db6403398e (diff) | |
download | linux-stable-e034d49eb01c7c83a08a3ce2a1091b55f806b26b.tar.gz linux-stable-e034d49eb01c7c83a08a3ce2a1091b55f806b26b.tar.bz2 linux-stable-e034d49eb01c7c83a08a3ce2a1091b55f806b26b.zip |
sem: Split out sem_types.h
More sched.h dependency pruning.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/sem.h')
-rw-r--r-- | include/linux/sem.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h index 5608a500c43e..c4deefe42aeb 100644 --- a/include/linux/sem.h +++ b/include/linux/sem.h @@ -3,25 +3,17 @@ #define _LINUX_SEM_H #include <uapi/linux/sem.h> +#include <linux/sem_types.h> struct task_struct; -struct sem_undo_list; #ifdef CONFIG_SYSVIPC -struct sysv_sem { - struct sem_undo_list *undo_list; -}; - extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); extern void exit_sem(struct task_struct *tsk); #else -struct sysv_sem { - /* empty */ -}; - static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) { return 0; |