summaryrefslogtreecommitdiff
path: root/include/linux/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sem.h')
-rw-r--r--include/linux/sem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h
index 38a64f8ea69b..2821bc07f647 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -128,13 +128,11 @@ struct sem_undo {
struct sem_undo_list {
atomic_t refcnt;
spinlock_t lock;
- volatile unsigned long add_count;
struct sem_undo *proc_list;
};
struct sysv_sem {
struct sem_undo_list *undo_list;
- struct sem_queue *sleep_list;
};
asmlinkage long sys_semget (key_t key, int nsems, int semflg);
@@ -143,6 +141,8 @@ asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg);
asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
unsigned nsops, const struct timespec __user *timeout);
+void exit_sem(struct task_struct *p);
+
#endif /* __KERNEL__ */
#endif /* _LINUX_SEM_H */