diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-08 13:19:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:31 +0100 |
commit | 9f741cb8fecef923cce1dff820ac6aa78c12d136 (patch) | |
tree | a033810f71f1b98f5ba1d1949230178ca505a1bf /lib/semaphore-sleepers.c | |
parent | kernel: remove fastcall in kernel/* (diff) | |
download | linux-9f741cb8fecef923cce1dff820ac6aa78c12d136.tar.xz linux-9f741cb8fecef923cce1dff820ac6aa78c12d136.zip |
lib: remove fastcall from lib/*
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 @@ * we cannot lose wakeup events. */ -fastcall void __up(struct semaphore *sem) +void __up(struct semaphore *sem) { 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); @@ -90,7 +90,7 @@ fastcall void __sched __down(struct semaphore * sem) 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; @@ -153,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. */ -fastcall int __down_trylock(struct semaphore * sem) +int __down_trylock(struct semaphore *sem) { int sleepers; unsigned long flags; |