diff options
Diffstat (limited to 'lib/semaphore-sleepers.c')
-rw-r--r-- | lib/semaphore-sleepers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/semaphore-sleepers.c b/lib/semaphore-sleepers.c index 128180523860..0198782cdacb 100644 --- a/lib/semaphore-sleepers.c +++ b/lib/semaphore-sleepers.c | |||
@@ -48,12 +48,12 @@ | |||
48 | * we cannot lose wakeup events. | 48 | * we cannot lose wakeup events. |
49 | */ | 49 | */ |
50 | 50 | ||
51 | fastcall void __up(struct semaphore *sem) | 51 | void __up(struct semaphore *sem) |
52 | { | 52 | { |
53 | wake_up(&sem->wait); | 53 | wake_up(&sem->wait); |
54 | } | 54 | } |
55 | 55 | ||
56 | fastcall void __sched __down(struct semaphore * sem) | 56 | void __sched __down(struct semaphore *sem) |
57 | { | 57 | { |
58 | struct task_struct *tsk = current; | 58 | struct task_struct *tsk = current; |
59 | DECLARE_WAITQUEUE(wait, tsk); | 59 | DECLARE_WAITQUEUE(wait, tsk); |
@@ -90,7 +90,7 @@ fastcall void __sched __down(struct semaphore * sem) | |||
90 | tsk->state = TASK_RUNNING; | 90 | tsk->state = TASK_RUNNING; |
91 | } | 91 | } |
92 | 92 | ||
93 | fastcall int __sched __down_interruptible(struct semaphore * sem) | 93 | int __sched __down_interruptible(struct semaphore *sem) |
94 | { | 94 | { |
95 | int retval = 0; | 95 | int retval = 0; |
96 | struct task_struct *tsk = current; | 96 | struct task_struct *tsk = current; |
@@ -153,7 +153,7 @@ fastcall int __sched __down_interruptible(struct semaphore * sem) | |||
153 | * single "cmpxchg" without failure cases, | 153 | * single "cmpxchg" without failure cases, |
154 | * but then it wouldn't work on a 386. | 154 | * but then it wouldn't work on a 386. |
155 | */ | 155 | */ |
156 | fastcall int __down_trylock(struct semaphore * sem) | 156 | int __down_trylock(struct semaphore *sem) |
157 | { | 157 | { |
158 | int sleepers; | 158 | int sleepers; |
159 | unsigned long flags; | 159 | unsigned long flags; |