git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] Start removing linux,network-index in favour of aliases
[safe/jmp/linux-2.6]
/
lib
/
semaphore-sleepers.c
diff --git
a/lib/semaphore-sleepers.c
b/lib/semaphore-sleepers.c
index
4d5f188
..
0198782
100644
(file)
--- a/
lib/semaphore-sleepers.c
+++ b/
lib/semaphore-sleepers.c
@@
-12,7
+12,6
@@
*
* rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org>
*/
*
* rw semaphores implemented November 1999 by Benjamin LaHaise <bcrl@kvack.org>
*/
-#include <linux/config.h>
#include <linux/sched.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/err.h>
#include <linux/init.h>
@@
-49,12
+48,12
@@
* we cannot lose wakeup events.
*/
* we cannot lose wakeup events.
*/
-
fastcall
void __up(struct semaphore *sem)
+void __up(struct semaphore *sem)
{
wake_up(&sem->wait);
}
{
wake_up(&sem->wait);
}
-
fastcall void __sched __down(struct semaphore *
sem)
+
void __sched __down(struct semaphore *
sem)
{
struct task_struct *tsk = current;
DECLARE_WAITQUEUE(wait, tsk);
{
struct task_struct *tsk = current;
DECLARE_WAITQUEUE(wait, tsk);
@@
-91,7
+90,7
@@
fastcall void __sched __down(struct semaphore * sem)
tsk->state = TASK_RUNNING;
}
tsk->state = TASK_RUNNING;
}
-
fastcall int __sched __down_interruptible(struct semaphore *
sem)
+
int __sched __down_interruptible(struct semaphore *
sem)
{
int retval = 0;
struct task_struct *tsk = current;
{
int retval = 0;
struct task_struct *tsk = current;
@@
-154,7
+153,7
@@
fastcall int __sched __down_interruptible(struct semaphore * sem)
* single "cmpxchg" without failure cases,
* but then it wouldn't work on a 386.
*/
* single "cmpxchg" without failure cases,
* but then it wouldn't work on a 386.
*/
-
fastcall int __down_trylock(struct semaphore *
sem)
+
int __down_trylock(struct semaphore *
sem)
{
int sleepers;
unsigned long flags;
{
int sleepers;
unsigned long flags;