projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08af295
)
[ARM] sema_count() removal
author
Arthur Othieno
<a.othieno@bluewin.ch>
Thu, 1 Dec 2005 20:58:01 +0000
(20:58 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 1 Dec 2005 20:58:01 +0000
(20:58 +0000)
sema_count() defined only for ARM but not used anywhere.
Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/semaphore.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/semaphore.h
b/include/asm-arm/semaphore.h
index 71ca7d412687f9bb0e1a2c2e61a8857e96cec6f5..d5dc624f452a203142908c5cf96adf642dcdbd2b 100644
(file)
--- a/
include/asm-arm/semaphore.h
+++ b/
include/asm-arm/semaphore.h
@@
-47,11
+47,6
@@
static inline void init_MUTEX_LOCKED(struct semaphore *sem)
sema_init(sem, 0);
}
-static inline int sema_count(struct semaphore *sem)
-{
- return atomic_read(&sem->count);
-}
-
/*
* special register calling convention
*/