projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] i386: fix singlestepping though a syscall
[powerpc.git]
/
include
/
asm-arm
/
semaphore.h
diff --git
a/include/asm-arm/semaphore.h
b/include/asm-arm/semaphore.h
index
71ca7d4
..
d5dc624
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);
}
sema_init(sem, 0);
}
-static inline int sema_count(struct semaphore *sem)
-{
- return atomic_read(&sem->count);
-}
-
/*
* special register calling convention
*/
/*
* special register calling convention
*/