projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPARC64]: __bzero_noasi --> __clear_user
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-arm
/
semaphore.h
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
*/