diff options
Diffstat (limited to 'include/linux/semaphore.h')
-rw-r--r-- | include/linux/semaphore.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/semaphore.h b/include/linux/semaphore.h index 5310d27abd2a..69e3f57661ec 100644 --- a/include/linux/semaphore.h +++ b/include/linux/semaphore.h | |||
@@ -49,4 +49,13 @@ extern int __must_check down_trylock(struct semaphore *sem); | |||
49 | extern int __must_check down_timeout(struct semaphore *sem, long jiffies); | 49 | extern int __must_check down_timeout(struct semaphore *sem, long jiffies); |
50 | extern void up(struct semaphore *sem); | 50 | extern void up(struct semaphore *sem); |
51 | 51 | ||
52 | extern void __down(struct semaphore *sem); | ||
53 | extern void __up(struct semaphore *sem); | ||
54 | |||
55 | struct semaphore_waiter { | ||
56 | struct list_head list; | ||
57 | struct task_struct *task; | ||
58 | int up; | ||
59 | }; | ||
60 | |||
52 | #endif /* __LINUX_SEMAPHORE_H */ | 61 | #endif /* __LINUX_SEMAPHORE_H */ |