git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-cris
/
semaphore-helper.h
diff --git
a/include/asm-cris/semaphore-helper.h
b/include/asm-cris/semaphore-helper.h
index
dbd0f30
..
a8e1e6c
100644
(file)
--- a/
include/asm-cris/semaphore-helper.h
+++ b/
include/asm-cris/semaphore-helper.h
@@
-20,12
+20,12
@@
/*
* These two _must_ execute atomically wrt each other.
*/
/*
* These two _must_ execute atomically wrt each other.
*/
-
extern
inline void wake_one_more(struct semaphore * sem)
+
static
inline void wake_one_more(struct semaphore * sem)
{
atomic_inc(&sem->waking);
}
{
atomic_inc(&sem->waking);
}
-
extern
inline int waking_non_zero(struct semaphore *sem)
+
static
inline int waking_non_zero(struct semaphore *sem)
{
unsigned long flags;
int ret = 0;
{
unsigned long flags;
int ret = 0;
@@
-40,7
+40,7
@@
extern inline int waking_non_zero(struct semaphore *sem)
return ret;
}
return ret;
}
-
extern
inline int waking_non_zero_interruptible(struct semaphore *sem,
+
static
inline int waking_non_zero_interruptible(struct semaphore *sem,
struct task_struct *tsk)
{
int ret = 0;
struct task_struct *tsk)
{
int ret = 0;
@@
-59,7
+59,7
@@
extern inline int waking_non_zero_interruptible(struct semaphore *sem,
return ret;
}
return ret;
}
-
extern
inline int waking_non_zero_trylock(struct semaphore *sem)
+
static
inline int waking_non_zero_trylock(struct semaphore *sem)
{
int ret = 1;
unsigned long flags;
{
int ret = 1;
unsigned long flags;